Module websocket_codec::protocol
source · [−]Expand description
Holds types that define WebSocket data at a low level.
See RFC6455 “The WebSocket Protocol” for a detailed definition of the fields in the frame header and their relation to the overall WebSocket protocol.
Structs
Describes an individual frame within a WebSocket message at a low level.
Tokio codec for the low-level header portion of WebSocket frames.
This codec can send and receive FrameHeader
structs.
Enums
Describes the length of the payload data within an individual WebSocket frame.