I have two methods in my hub that should add a connectionId in the same group (among other things).
Is there a problem, adding the same connectionId multiple times to the same group? Will I get multiple events on the browser when calling a client method for this group? Will this slow down the server performance?
I searched about possible causes of doing that but I didn't find anything that could help me.
For a detailed answer you can browse the code to find out: https://github.com/SignalR/SignalR/tree/master/src/Microsoft.AspNet.SignalR.Core
I tried connecting to the same group multiple times, but whenever the event fires the subscribed client receives it only once, which I think makes sense. So they probably map connectionIDs to group, which means multiple connection makes no change from connecting once
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With