예제 #1
0
 public void Close()
 {
     socket.Close();
     isConnected = false;
     error       = null;
 }
예제 #2
0
 private void HandleOnError(object sender, ErrorEventArgs e)
 {
     error = new WebSocketError(e.Message, e.Exception);
 }