Sending message to many ws client in one time. #5316
Unanswered
memmedov-karim
asked this question in
Q&A
Replies: 1 comment
-
Hi! I don't see anything wrong with the code you provided, I think that's the way to go to send a payload to multiple clients. You could maybe compute the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys I have i question like this i use WebSocket not socket.io and i have map key is room and value is set wich i store clients now when i send message to client i use foreach of set and send one by one message to client.

You see image that i send one by one have a method that i send data to all rooms clients but data is same for each user in room.
Thank you so much firstly!
Beta Was this translation helpful? Give feedback.
All reactions