Is there any way to proxy a WebSocket connection in browser JS? I know there are modules to do it in node.js but is it possible to do write it as code that a browser can execute?
I think you can use something like nginx https://www.nginx.com/blog/nginx-nodejs-websockets-socketio/