onConnected method

void onConnected()

Handles the connection to the WebSocket server

Implementation

void onConnected() {
  _logger.info('Connected');
  pingMessageHandler();
  joinRoom();
}