Optional
options: { mode?: "single" | "pool"; poolSize?: number } = {}Optional connection options.
Optional
mode?: "single" | "pool"The connection mode, either 'single' or 'pool'. Overrides the mode
property in the configuration.
Optional
poolSize?: numberThe number of connections to use in pool mode. Overrides the poolSize
property in the configuration.
WebsocketAPIConnection
instance.
Connects to the Binance WebSocket API and returns a
WebsocketAPIConnection
instance.