DEV Community


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

patarapolw profile image Pacharapol Withayasakpunt ・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)

Editor guide
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.)