Returns 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.
The http or http-agent configuration.
Determining which kind of configuration is returned.
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
Returns 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.
Returns
The http or http-agent configuration.