Optionaloptions: { mode?: "single" | "pool"; poolSize?: number } = {}Optional connection options.
Optionalmode?: "single" | "pool"The connection mode, either 'single' or 'pool'. Overrides the mode property in the configuration.
OptionalpoolSize?: 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
WebsocketAPIConnectioninstance.