Expand description
Types and configuration for WebSocket WebSocket types and configuration for Binance
This module contains configuration structures, enums, and types used throughout the Binance WebSocket implementation.
Structs§
- Binance
WsConfig - Configuration for Binance WebSocket client.
- Shutdown
State - Shutdown state tracking
- WsChannel
Config - Configuration for WebSocket channel capacities.
- WsHealth
Snapshot - Health snapshot for WebSocket connection monitoring.
- WsStats
- Internal statistics tracking for WebSocket connections.
Enums§
- Depth
Level - Order book depth levels supported by Binance.
- Update
Speed - Update speed for order book streams.
- WsError
Recovery - Error recovery strategy for WebSocket errors.
Constants§
- DEFAULT_
ORDERBOOK_ CAPACITY - Default channel capacity for orderbook streams
- DEFAULT_
TICKER_ CAPACITY - Default channel capacity for ticker streams
- DEFAULT_
TRADES_ CAPACITY - Default channel capacity for trade streams
- DEFAULT_
USER_ DATA_ CAPACITY - Default channel capacity for user data streams