TooTallNate / node-pac-proxy-agent

A PAC file proxy `http.Agent` implementation for HTTP and HTTPS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to read a local PAC file

yelichi opened this issue · comments

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.

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.