Expand description
The messages of the WebSocket streams: the requests we send and the frames that come back.
Every request is {"op": ..., "req_id": ..., "args": [...]}. The exchange answers a subscription once with
{"success": true/false, "ret_msg": ..., "op": "subscribe", "req_id": ...}, then data frames arrive with the
topic of the subscription until it is cancelled.
Structs§
- WsRequest
- A request to the stream.
Enums§
- Data
Kind - How a data frame relates to the earlier ones.
- WsIncoming
- A frame from the stream.
Constants§
- PRIVATE_
PATH - The path of the private stream.
Functions§
- parse_
incoming - Reads one text frame.
- public_
path - The path of the public stream of a category.