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
I have a connection created from javascripts successfully towards my websocket server. I send messages and receive the perfect response. I am using the cboden/ratchet library.
Now what I need is to save a message in the database, to be able to send a message from php to the websocket server so that it sends it to the chat. I can't do this.
I've tried the sample code but I can't do anything. Can you guide me a bit?
Thank you.
The text was updated successfully, but these errors were encountered:
same situation x-x. php client connects successfully but suddenly get a "Connection closed" with code 1000 and the process does not listen to the 'open', 'message' or 'handshake' events; neither if I execute the method ->send() in the root of the callback of the Connector()->then() method
Hello.
I have a connection created from javascripts successfully towards my websocket server. I send messages and receive the perfect response. I am using the cboden/ratchet library.
Now what I need is to save a message in the database, to be able to send a message from php to the websocket server so that it sends it to the chat. I can't do this.
I've tried the sample code but I can't do anything. Can you guide me a bit?
Thank you.
The text was updated successfully, but these errors were encountered: