We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to send broadcast to room but except sender. I'm try server.BroadcastTo but it sending to all clients in room not except sender.
The text was updated successfully, but these errors were encountered:
Did you find a solution ?
Sorry, something went wrong.
// sending to all clients in 'game' room except sender socket.to('game').emit('nice game', "let's play a game");
Isn't this a solution for you?
https://socket.io/docs/emit-cheatsheet/
The logic should be the same in all implementations.
No branches or pull requests
I want to send broadcast to room but except sender.
I'm try server.BroadcastTo but it sending to all clients in room not except sender.
The text was updated successfully, but these errors were encountered: