Пример #1
0
 /// <summary>
 /// Close the websocket connection.
 /// </summary>
 public void Close()
 {
     ClientSocket.Abort();
     LoopReads.Dispose();
 }
Пример #2
0
 /// <summary>
 ///     Close the websocket connection.
 /// </summary>
 public void Close()
 {
     _cToken.Cancel();
     LoopReads.Dispose();
     ClientSocket.Abort();
 }