onDestroy

fun onDestroy()

Sends a final message and disconnects the WebSocket client.