Closed mceIdo closed 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 change is still necessary as of the latest release, feel free to open a new pull request over there.
This PR adds the option to provide a
getProxyForUrl(url: string) => string
function as an option to theProxyAgent
constructor. We found it useful in places where proxy address is different for different hosts (and pac is not an option). In the mean time, just because production schedule, we published it under@mcesystems/proxy-agent
, but we'd be happy to see this in the main package and use it again if merged