Follow

The biggest problem with this project is that I don't know enough WebSocket to understand if I'm doing something wrong or the server is broken.

For example, using websocat and trying to connect to it, returns an "unexpected status code (200 OK)", which my knowledge of HTTP says it is actually ok, but not so sure about websockets...

I think I figured it out:

I was checking WebSocket wiki page (en.wikipedia.org/wiki/WebSocke) and it has a JS example.

And then it hit me: I can do the same with the webdev console. And there, Firefox is complaining that it can connect to the service.

Sign in to participate in the conversation
Functional Café

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!