How to use the proxy-chain.closeAnonymizedProxy function in proxy-chain

To help you get started, we’ve selected a few proxy-chain examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apifytech / apify-js / src / puppeteer.js View on Github external
const cleanUp = () => {
            // Don't wait for finish, only log errors
            closeAnonymizedProxy(anonymizedProxyUrl, true)
                .catch(err => log.exception(err, 'closeAnonymizedProxy() failed.'));
        };
github apifytech / apify-js / src / webdriver.js View on Github external
.then(() => {
                if (this.anonymizedProxyUrl) {
                    return closeAnonymizedProxy(this.anonymizedProxyUrl, true);
                }
            })
            .then(() => {

proxy-chain

Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.

Apache-2.0
Latest version published 5 days ago

Package Health Score

86 / 100
Full package analysis