varconnection=senderasIWebSocketConnection??thrownewArgumentException($"{nameof(sender)} is not of type {nameof(IWebSocketConnection)}",nameof(sender));
varconnection=senderasIWebSocketConnection??thrownewArgumentException($"{nameof(sender)} is not of type {nameof(IWebSocketConnection)}",nameof(sender));
_logger.LogDebug("Removing websocket from session {Session}",_session.Id);
_logger.LogDebug("Removing websocket from session {Session}",_session.Id);