MCPcopy Create free account
hub / github.com/binance/binance-connector-python / WebSocketConnection

Class WebSocketConnection

common/src/binance_common/websocket.py:42–74  ·  view source on GitHub ↗

Represents a WebSocket connection. Attributes: id (Union[str, int]): Unique identifier for the WebSocket connection. pending_request (dict): Dictionary to hold pending requests. stream_callback_map (dict): Map of stream names to their callback functions. response