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
How are messages supposed to be formatted to be able to be send by JavaScript?
For example, this doesn't work:
const socket = new WebSocket('ws://localhost:8081'); const message = { kind: 'balls_of_steel:ChatMessage', data: { message: 'Hi Server!', }, }; socket.send(JSON.stringify(message))
Btw, I'm using the bevy_eventwork_mod_websockets crate. But I assume the message format is the same regardless.
The text was updated successfully, but these errors were encountered:
Responded more in depth in this issue on BEMW: NoahShomette/bevy_eventwork_mod_websockets#2 (comment).
I'll try and take a look and see if its reasonable to allow eventwork/network providers to use a different serialization method
Sorry, something went wrong.
No branches or pull requests
How are messages supposed to be formatted to be able to be send by JavaScript?
For example, this doesn't work:
Btw, I'm using the bevy_eventwork_mod_websockets crate. But I assume the message format is the same regardless.
The text was updated successfully, but these errors were encountered: