Structs

Default ProtocolParser implementation for a WebSocket.

Functions

Connect asynchronously to WebSocket server.

Basic process for a WebSocket CloseFrame message. Logs the payload at trace level.

Process a payload of bytes by deserialising into an ExchangeMessage.

Basic process for a WebSocket ping message. Logs the payload at trace level.

Basic process for a WebSocket pong message. Logs the payload at trace level.

Type Definitions

Convenient type alias for an ExchangeSocket utilising a tungstenite WebSocket.

Convenient type alias for a tungstenite WebSocketStream.

Communicative type alias for a tungstenite WebSocket Error.

Communicative type alias for a tungstenite WebSocket Message.