Jacob
Jacob

Reputation: 3698

Is SignalR group message is broadcast to all connected users?

According to the documentations

the server does not maintain lists of groups or group memberships

So as I may understand from this quote, the groups are maintained on the client side. That is to say, when adding a user to a group, he gets notified about that and saves internally (at client side) a list of groups he is being in.

If that is true, when sending a message to group, it sends it to all connected users and the filtering is done on the client side.

Does it true? Anyone knows how it works internally?

Upvotes: 1

Views: 566

Answers (1)

Saadi
Saadi

Reputation: 2237

Yes, SignalR sends message to all connected users. If you want to send message to specfic user, you need to customize SignalR connection.

Upvotes: 1

Related Questions