ITADN

how to use node-unblocker with https-proxy-agent

#254Closedbobwatcherx 创建于 2024-04-27
B
bobwatcherxcommented
is it possible to use node-unblocker on https-proxy-agent https://www.npmjs.com/package/https-proxy-agent example ``` import * as https from 'https'; import { HttpsProxyAgent } from 'https-proxy-agent'; const agent = new HttpsProxyAgent('https:// MY URL NODE-UNBLOCKER ---- And how many ports are there? '); https.get('https://example.com', { agent }, (res) => { console.log('"response" event!', res.headers); res.pipe(process.stdout); }); ``` or give me example code
关闭于 2024-04-27 1 条评论