public void CleanUp() { _client?.Disconnect(); _server?.Disconnect(); }
private async void DisconnectButton_Click(object sender, RoutedEventArgs e) { await _ws.Disconnect(); }
private void DisconnectButton_Click(object sender, RoutedEventArgs e) { _ws.Disconnect(); }