Skip to main content

Module ws

Module ws 

Source
Expand description

The WebSocket side: the client, the background session and the frame models.

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.