ByBitWebSocket constructor
ByBitWebSocket({})
Connect to the server with a WebSocket. A ping shall be send every
pingLooTimer
seconds in order to keep the connection alive.
Implementation
ByBitWebSocket(
{this.url = 'wss://stream.bybit.com/realtime',
this.key = '',
this.password = '',
this.timeout,
this.pingPeriod = 30}) {
log = LoggerSingleton();
}