Project
Loading...
Searching...
No Matches
o2::framework::WebSocketConstants Struct Reference

#include <HTTPParser.h>

Static Public Attributes

static constexpr size_t MaxChunkSize = 0x10000
 

Detailed Description

Definition at line 108 of file HTTPParser.h.

Member Data Documentation

◆ MaxChunkSize

constexpr size_t o2::framework::WebSocketConstants::MaxChunkSize = 0x10000
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 114 of file HTTPParser.h.


The documentation for this struct was generated from the following file: