Exemple #1
0
 public override Task OnDisconnected()
 {
     connectedUsers.RemoveUser(new User(Context.ConnectionId));
     return(Clients.All.populateNumUsers(connectedUsers.Count()));
 }