¿Es posible usar un servidor proxy con un cliente websocket en nodejs?
Lo intenté:
import httpsProxyAgent from 'https-proxy-agent'; import W3CWebSocket from 'websocket'; const client = new W3CWebSocket('ws://127.0.0.1:8080/', { agent: new httpsProxyAgent("http://LOGIN:PASS@IP:PORT") });Le he dado muchas combinaciones al cliente websocket, pero no tengo idea de por qué no funciona.
* ¡Obviamente no me importa otro cliente websocket!