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