Closed Jasperav closed 4 years ago
Nvm, got it working
Nvm, got it working
Ideally, you share how you got it working?
For me it was, that i was using socket.io, instead of the native client websocket implementation: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket Now it works ;)
I created a plain new project and followed the guide here: https://ws-rs.org/guide
This lines of code:
Will throw an error after I visit the url in my browser with the error:
Same error pops up in my browser.
This example:
instantly throws this error in my debugger:
How to fix this?