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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -