DEV Community

loading...

What should I try, wss:// or socket.io (with HTTPS)?

Pacharapol Withayasakpunt
Currently interested in TypeScript, Vue, Kotlin and Python. Looking forward to learning DevOps, though.
・1 min read

Note that I have already successfully set up WebSocket on my local machine.

But if I go online, I have to care about HTTPS and SSL. Currently deployed on Google Cloud Run, if that matters. It deals with SSL for me. I don't have to make one or care about expiry...

Discussion (1)

Collapse
hmans profile image
Hendrik Mans

Socket.IO offers a level of abstraction over Websockets that you will probably find useful (unless you're building something highly specific that requires you to work as close to the metal as possible.)