![]() |
Project
|
#include <HTTPParser.h>
Static Public Attributes | |
| static constexpr size_t | MaxChunkSize = 0x10000 |
Definition at line 120 of file HTTPParser.h.
|
staticconstexpr |
The maximum size of a WebSocket chunk. We always allocate new buffers of this size and then we use len to decide how much data was used. This way we can simply multiplex multiple messages in the same buffer. For larger messages, we can then create the right size buffer.
Definition at line 126 of file HTTPParser.h.