SAP Cloud SDK for JavaScript - v4.8.0
    Preparing search index...

    Function buildHeadersForDestination

    • Build a request header object, that contains authentication headers and SAP specific headers like 'sap-client', from a given destination.

      Parameters

      • destination: Destination

        The given destination that contains e.g., authentication and SAP client information.

      Returns Promise<Record<string, string>>

      A request header object, built from the given destination.