0

I'm pretty new to SignalR. I tried to look for a solution but with no success. Is there a way to iterate through the Clients in SignalR? That is, I need to check each client state and decide what to do according to it.

Thanks

user1919071
  • 93
  • 2
  • 4

1 Answers1

2

I'm not sure if there is an easier way. But the way I implemented it is by creating a static list and each time a user connects I add them to that list. And remove the user on disconnect.

Alaeddin Hussein
  • 738
  • 1
  • 7
  • 14