Skip to main content

Module websocket

Module websocket 

Source
Expand description

Constants§

CLOSE_STATUS_CODE_BYTES 🔒
Status-code prefix of a nonempty Close frame, in bytes.
MAX_CLOSE_REASON_BYTES
Maximum UTF-8 reason length after the Close frame’s status code.
MAX_CONTROL_PAYLOAD_BYTES 🔒
Maximum payload of a WebSocket control frame, in bytes.