Constant libp2p_webrtc_utils::MAX_MSG_LEN

source ·
pub const MAX_MSG_LEN: usize = _; // 16_384usize
Expand description

Maximum length of a message.

“As long as message interleaving is not supported, the sender SHOULD limit the maximum message size to 16 KB to avoid monopolization.” Source: https://www.rfc-editor.org/rfc/rfc8831#name-transferring-user-data-on-a