Expand description
Binance Spot WebSocket message handler.
The handler runs in a dedicated Tokio task as the I/O boundary between the client
orchestrator and the network layer. It exclusively owns the WebSocketClient and
processes commands from the client via an unbounded channel.
Key responsibilities:
- Command processing: Receives
HandlerCommandfrom client, executes WebSocket operations. - SBE binary decoding: Routes binary frames to appropriate SBE decoders.
- Message transformation: Parses raw venue messages into Nautilus domain events.
- Subscription tracking: Manages pending subscription state.
Enums§
- Market
Data Message - Decoded market data message.
Functions§
- decode_
market_ data - Decode an SBE binary frame into a market data message.