onDisconnected method

void onDisconnected()

Called when the client is disconnected from the server.

Implementation

void onDisconnected() {}