onDisconnected

Invoked when the web socket connection is disconnected.

Parameters

cause

DisconnectCause reason of disconnection.