Exemple #1
0
 protected virtual void RaiseErrorEvent(WebsocketClientBase client, IWebSocketConnection session)
 {
     //closed the WebSocket connection without completing the close handshake.
     ((WebSocketConnection)session).Socket.Dispose();
 }
Exemple #2
0
 public ReopenWatcher(WebsocketClientBase websocketClient, ILogger logger)
 {
     _websocketClient = websocketClient;
     _logger          = logger;
 }