TooTallNate / node-pac-proxy-agent

A PAC file proxy `http.Agent` implementation for HTTP and HTTPS
59 stars 57 forks source link

How to read a local PAC file #45

Closed yelichi closed 1 year ago

yelichi commented 2 years ago

Hello mate, may I know what's the format of the uri that supports reading a local PAC file ?

For example: If I have a PAC file in the path C:\abc.pac, then should I setup the uri like this pac+C:\abc.pac or something else ?

so the code will be like this:

let agent = new PacProxyAgent('pac+C:\abc.pac');

May I know is that correct ?

Looking forward your kindly help. Thanks.

TooTallNate commented 1 year ago

This code in this repository has been moved to the proxy-agents monorepo, so I am closing this pull request. If you feel that this issue still exists as of the latest release, feel free to open a new issue over there.