loading...

What should I try, wss:// or socket.io (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

pic
Editor guide
 

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