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);
});
is it possible to use node-unblocker on https-proxy-agent https://www.npmjs.com/package/https-proxy-agent
example
or give me example code