Open Mxdi opened 2 years ago
var ProxyVerifier = require('proxy-verifier');
const auth = btoa('user:pass');
var proxy = { ipAddress: '208.202.250.44', port: 8312, protocol: 'http', auth: Basic ${auth} };
Basic ${auth}
ProxyVerifier.testAll(proxy, function(error, result) {
if (error) { console.log(error); } else { console.log(result); }
});
var ProxyVerifier = require('proxy-verifier');
const auth = btoa('user:pass');
var proxy = { ipAddress: '208.202.250.44', port: 8312, protocol: 'http', auth:
Basic ${auth}
};ProxyVerifier.testAll(proxy, function(error, result) {
});