Exemple #1
0
 /// <summary>
 /// Disconnect from server
 /// </summary>
 /// <returns></returns>
 public async Task DisconnectAsync()
 {
     Working = true;
     try
     {
         await WebSocketService.CloseAsync();
     }
     finally
     {
         Working = false;
     }
 }