Skip to main content

Module types

Module types 

Source
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§

BinanceWsConfig
Configuration for Binance WebSocket client.
ShutdownState
Shutdown state tracking
WsChannelConfig
Configuration for WebSocket channel capacities.
WsHealthSnapshot
Health snapshot for WebSocket connection monitoring.
WsStats
Internal statistics tracking for WebSocket connections.

Enums§

DepthLevel
Order book depth levels supported by Binance.
UpdateSpeed
Update speed for order book streams.
WsErrorRecovery
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