clientDisconnected method
- @internal
Called when the client's connection is closed
Implementation
@internal
void clientDisconnected() {
if (protocolState == KuzzleProtocolState.offline) {
return;
}
protocolState = KuzzleProtocolState.offline;
emit(ProtocolEvents.DISCONNECT);
}