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.
Re-exportsยง
pub use super::parse::MarketDataMessage;pub use super::parse::decode_market_data;