Closed clarknelson closed 4 years ago
I'm still getting an error, but "WebSocket opening handshake timed out" instead of "using ws: instead of wss:"
The http/https code is good, but I had to specifically point to the Cert and Key files to get wss to work!
Looking at other ways to do this, I believe I have found the correct way to implement.
By using this, it correctly tests whether to use WSS or WS protocol when connecting to the web socket. There are a few smaller changes from my beautifier plugin also.