WebSocketManager.registerConnection

Registers a new websocket connection to this manager, and begins listening for messages to pass on to the given handler.

class WebSocketManager
void
registerConnection

Parameters

socket Socket

The socket that's connected.

handler WebSocketMessageHandler

The handler to handle any websocket messages.