When using SignalR, If I have a list of connection IDs, is it possible to send a broadcast from a certain connection ID to all the other users?
Something like this:
Clients.Others.addMessage(fromID, message);
Thank you,
Josheir
When using SignalR, If I have a list of connection IDs, is it possible to send a broadcast from a certain connection ID to all the other users?
Something like this:
Clients.Others.addMessage(fromID, message);
Thank you,
Josheir
I quickly looked through the code, and I don't think so, although I'm not a user of SignalR.
I'm thinking there would be approximately the same cost to just queue the same message to each of the clients in Others and have a field in that message that the clients can use to figure out who it's "from."
Thanks, I'm watching a video on SignalR now and am thinking I should understand this in a while.
Well, the good news is that it's all open source and you can read the code yourself!
(It's kind of high in interface abstraction, though, making it harder to follow ? )
Dpeending on which flavor you're using: