WebSocketRequestHandler.addConnection

Adds a connection to the manager and starts listening for messages.

class WebSocketRequestHandler
void
addConnection
(,
in ServerHttpRequest request
)

Parameters

conn WebSocketConnection

The connection to add.

request ServerHttpRequest

The HTTP request that initiated the connection.