WebSocketMessageHandler.onCloseMessage

Called when a CLOSE message is received. Note that this is called before the socket is necessarily guaranteed to be closed.

class WebSocketMessageHandler
void
onCloseMessage

Parameters

msg WebSocketCloseMessage

The close message.