Question

I was wonderign if anyone has a good example on how to construct a SignalR Hub, so multiple clients will not cause multiple broadcast messages to be sent out?

Basically, I have a status message I'd like to broadcast to every connected client. Currently, every client causes me a new message to be broadcast, so if my ticker is say 4 times a minute and I have 5 clients, the Hub starts sending 20 updates a minute, and each client receives all 20 messages instead of 4 for all of them.

Était-ce utile?
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top