SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...
    • 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.

      Parameters

      • destination: HttpDestination

        Determining which kind of configuration is returned.

      Returns Promise<HttpAgentConfig | HttpsAgentConfig>

      A promise of the HTTP or HTTPS agent configuration.

      Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.