-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
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
how do I distinguish an incoming text msg from binary ? #1031
Comments
Hello @Zixim, IMHO and if I'm not mistaken, some familiarization with the WebSocket protocol is required to conclude that at the moment this functionality isn't implemented in the Ratchet library.
The WebSocket Protocol. (2023, September 15). https://www.rfc-editor.org/rfc/rfc6455
The I hope this will help, |
This is a snippet from my script :
When
$msg
contains binary... things don't go as expected.I suppose because I'm treating the binary content as text.
How can I distinguish the two ?
The text was updated successfully, but these errors were encountered: