Crate websocket_codec
source · [−]Expand description
A Tokio codec implementation of the WebSocket protocol.
This crate does not do any I/O directly. For a full WebSocket client, see the websocket-lite crate.
Modules
Holds types that define WebSocket data at a low level.
Structs
A client’s opening handshake.
A text string, a block of binary data or a WebSocket control frame.
Tokio codec for WebSocket messages. This codec can send and receive Message
structs.
Tokio decoder for parsing the server’s response to the client’s HTTP Connection: Upgrade
request.
Enums
Represents an opcode as defined by the WebSocket protocol.