Skip to main content

Module ws

Module ws 

Source
Expand description

The WebSocket side: the subscription messages and the frames (models), the background session of the data channel /ws (session) and the trading channel /cws (cws).

Re-exports§

pub use models::WsIncoming;
pub use models::WsSubscribe;
pub use models::parse_incoming;

Modules§

cws
The trading channel /cws: order commands over one WebSocket connection.
models
The messages of the data channel /ws: the subscription requests and the frames that come back.
session
The background session of the data channel /ws: connect, keep alive, reconnect and restore subscriptions.