Module tungstenite::protocol
source · Expand description
Generic WebSocket message stream.
Modules
Structs
A struct representing the close command.
WebSocket input-output stream.
The configuration for WebSocket connection.
A context for managing WebSocket stream.
Enums
An enum representing the various forms of a WebSocket message.
Indicates a Client or Server role of the websocket
The current connection state.
Traits
Translate “Connection reset by peer” into
ConnectionClosed
if appropriate.