onDisconnected method

void onDisconnected(
  1. Connection connection
)

Called when a connection is disconnected from the server.

Implementation

void onDisconnected(Connection connection) {}