Optionaloptions: { mode?: "single" | "pool"; poolSize?: number; stream?: string | string[] } = {}Optional connection options.
Optionalmode?: "single" | "pool"The connection mode, either 'single' or 'pool'. Overwrite the mode option in the configuration.
OptionalpoolSize?: numberThe number of connections to use in pool mode. Overwrite the poolSize option in the configuration.
Optionalstream?: string | string[]The stream(s) to connect to.
WebsocketStreamsConnection instance.
Connects to the Binance WebSocket streams and returns a
WebsocketStreamsConnectioninstance.