Function setClientMaxWebSocketMessageSize

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & setClientMaxWebSocketMessageSize(size_t maxSize)=0

Description

Set the max size of messages sent by WebSocket client.

The default value is 128K.

Note
This operation can be performed by an option in the configuration file.

Source

Line 1048 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in