WebSocketHandler.this

Constructs the websocket handler using the given message handler for any websocket messages received via this handler.

class WebSocketHandler
this

Parameters

messageHandler WebSocketMessageHandler

The message handler to use.