WebSocketRequestHandler.removeConnection

Removes a websocket connection from the manager and closes it. This is called automatically if the client sends a CLOSE frame, but you can also call it yourself.

class WebSocketRequestHandler
void
removeConnection

Parameters

conn WebSocketConnection

The connection to remove.