onTransportConnecting method

void onTransportConnecting(
  1. WebSocketInterface? socket,
  2. int? attempts
)

Transport event handlers

Implementation

// Transport connecting event.
  void onTransportConnecting(WebSocketInterface? socket, int? attempts) {
    logger.debug('Transport connecting');
    emit(EventSocketConnecting(socket: socket));
  }