onConnected method

void onConnected(
  1. Connection connection
)

Called when a connection is connected to the server.

Implementation

void onConnected(Connection connection) {}