Will be renamed to getAgentConfig in the next major release.
Returns a promise of the http or https-agent config depending on the destination URL.
If the destination contains a proxy configuration, the agent will be a proxy-agent.
If not it will be the default http-agent coming from node.
Will be renamed to getAgentConfig in the next major release. Returns a promise of the http or https-agent config depending on the destination URL. If the destination contains a proxy configuration, the agent will be a proxy-agent. If not it will be the default http-agent coming from node.