WebSocket.Config

Group: foundational

Members

Variables

cookies
string[string] cookies;

Cookies to send with the initial request. cookiesname = value;

initialReceiveBufferSize
size_t initialReceiveBufferSize;
likelyReceiveBufferSize
size_t likelyReceiveBufferSize;

These control the size of the receive buffer.

maximumMessageSize
size_t maximumMessageSize;

Maximum combined size of a message.

maximumReceiveBufferSize
size_t maximumReceiveBufferSize;

These control the size of the receive buffer.

origin
string origin;

Origin URL to send with the handshake, if desired.

pingFrequency
int pingFrequency;

Amount of time (in msecs) of idleness after which to send an automatic ping

protocol
string protocol;

the protocol header, if desired.

Meta