Reputation: 11247
How can I remove a specific connection from all groups in SignalR? - In my application the connection of a specific user can be associated with several groups. I don't want to use a database to track the association of the connection to groups.
Upvotes: 6
Views: 3803
Reputation: 1007
The simplest solution would be iterate over all the groups and remove the connection id from each of them. There isn't an inbuilt method in SignalR to do this.
Upvotes: 3