For communication between an HTMLViewer and the Xojo side of my Desktop app, I've put together a websocket server and that is working OK on macOS. However although the websocket is built using an SSLSocket as its super, security is turned off, as I figured I didn't need it. On the HTMLViewer side I do this:
socket = new WebSocket ('ws://localhost:' + port);
socket = new WebSocket ('wss://localhost:' + port);
If so, does it then suffice to do this in the websocket's constructor:
me.secure = true me.ConnectionType = SSLSocket.SSLv23
The HTMLViewer is using the IE11 renderer, which is forced into IE11 rendering mode.