Module protocol
Expand description
Generic WebSocket message stream.
Modules§
- frame
- Utilities to work with raw WebSocket frames.
Structs§
- Close
Frame - A struct representing the close command.
- PerMessage
Deflate Config - Per-message-deflate configuration as specified in
RFC7692
- WebSocket
- WebSocket input-output stream.
- WebSocket
Config - The configuration for WebSocket connection.
- WebSocket
Context - A context for managing WebSocket stream.
Enums§
- Message
- An enum representing the various forms of a WebSocket message.
- Protocol
Error - Indicates the specific type/cause of a protocol error.
- Role
- Indicates a Client or Server role of the websocket