Skip to main content

CHANNEL_BUFFER

Constant CHANNEL_BUFFER 

Source
const CHANNEL_BUFFER: u32 = _; // 4_194_304u32
Expand description

How many bytes of the client the ports of a WebSocket hold together, before the WebSocket is not read anymore. Without it, a client could make the server hold CHANNEL_QUEUE messages of up to the largest message size for each of MAX_CHANNEL_PORTS ports which do not take them.