Exemplo n.º 1
0
 public override Task OnDisconnectedAsync(Exception exception)
 {
     _testHubConnectionManager.RemoveClient(Context.ConnectionId);
     _testHubConnectionManager.RemoveUser(Context.UserIdentifier);
     return(Task.CompletedTask);
 }
Exemplo n.º 2
0
 public override Task OnDisconnected(bool stopCalled)
 {
     _testHubConnectionManager.RemoveClient(Context.ConnectionId);
     _testHubConnectionManager.RemoveUser(Context.Request.QueryString["user"]);
     return(base.OnDisconnected(stopCalled));
 }