WebSocketMessageHandler.onConnectionEstablished

Called when a new websocket connection is established.

class WebSocketMessageHandler
void
onConnectionEstablished
(,
in ServerHttpRequest request
)

Parameters

conn WebSocketConnection

The new connection.

request ServerHttpRequest

The HTTP request that initiated the connection.