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