Skip to main content

MAX_PAYLOAD_BYTES

Constant MAX_PAYLOAD_BYTES 

Source
pub const MAX_PAYLOAD_BYTES: usize = _ /* 16_384usize */;
Expand description

The largest dictation payload a frame may carry. Twenty-five times the 20 ms frame a client sends, so a malformed or hostile length cannot make the server hold a large allocation per message.