You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
I'm working on a project that manages Quizzs.
For this project, I need to send message to specific users that are stored in different rooms.
One room is made of two users.
Each time one user sends a message to the WebSocket server, the server needs to send a message to both users in the room.
But If I try to use the send() method with a customized node, I get an error message saying that this method doesn't exist in QuizzDuoNode, which is true. The send method is not inherited from the Hoa\Websocket\Node, and I cannot find anything related to this in the documentation.
My problem
I cannot find anything in the documentation that would allow me to send a message to a specific user and I don't know how to do that.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
I'm working on a project that manages Quizzs.
For this project, I need to send message to specific users that are stored in different rooms.
One room is made of two users.
Each time one user sends a message to the WebSocket server, the server needs to send a message to both users in the room.
The beginning of my code looks like that:
And If I simplify my code, it looks something like this:
But If I try to use the send() method with a customized node, I get an error message saying that this method doesn't exist in QuizzDuoNode, which is true. The send method is not inherited from the Hoa\Websocket\Node, and I cannot find anything related to this in the documentation.
My problem
I cannot find anything in the documentation that would allow me to send a message to a specific user and I don't know how to do that.
The text was updated successfully, but these errors were encountered: