Expand description
The WebSocket side: the client, the background session and the frame models.
client:BcsWsClientopens sessions, one per channel.session:WsSessionkeeps one channel alive: reconnect, heartbeat, restoring subscriptions.models: the frames the broker sends and the commands you send.parse_incoming: turns one text frame into anIncomingMessage.
Modules§
- client
- The WebSocket client: it opens one background session per channel.
- models
- Frames of the WebSocket channels: the commands you send and the data the broker sends.
- session
- The background WebSocket session: connect, heartbeat, reconnect and restore subscriptions.
Functions§
- parse_
incoming - Parses one text frame of a channel into an
IncomingMessage.