Manually create a group using SignalR -


i have list of userdetails connected hub , storing users list<userdetails>.i want add of users group , broadcast message group. not able figure out how can create group.this have done far:

foreach(var user in userdetails) {       groups.add(user.connectionid, "connected"); } clients.group("connected").broadcastmessage(message); 

when ever add user group, if group doesn't exist created you, don't need create specifically.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -