This class now uses 'got' There's a migration guide here: https://github.com/sindresorhus/got/blob/master/documentation/migration-guides.md
As a SOCKS-Proxy, use 'socks-proxy-agent' https://github.com/TooTallNate/node-socks-proxy-agent Note: typescript will complain, bot you can @ts-ignore it
@ts-ignore
igpapi.http.defaults.agent = { https: new SocksProxyAgent({ host, port }), } As a HTTP(S) proxy, use 'tunnel' https://github.com/koichik/node-tunnel Copy
igpapi.http.defaults.agent = { https: new SocksProxyAgent({ host, port }), } As a HTTP(S) proxy, use 'tunnel' https://github.com/koichik/node-tunnel
https://github.com/sindresorhus/got#proxies Copy
https://github.com/sindresorhus/got#proxies
Protected
just replace with setMasqUrl() instead
Optional
This class now uses 'got' There's a migration guide here: https://github.com/sindresorhus/got/blob/master/documentation/migration-guides.md
As a SOCKS-Proxy, use 'socks-proxy-agent' https://github.com/TooTallNate/node-socks-proxy-agent Note: typescript will complain, bot you can
@ts-ignore
itExample
Example