Making a secure web socket connection
suggest changevar sck = "wss://site.com/wss-handler";
var wss = new WebSocket(sck);
This uses the wss
instead of ws
to make a secure web socket connection which make use of HTTPS instead of HTTP
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents