dwrtc / ch.hsr.dsl.dwrtc.websocket / WebSocketHandler / close

close

private fun close(session: WsSession, reason: String): Unit

Handler for when a WebSocket session closes

Parameters

session - the closing WebSocket session

reason - the reason why this session closed