@sap-cloud-sdk/connectivity
Version:
SAP Cloud SDK for JavaScript connectivity
8 lines (7 loc) • 490 B
TypeScript
import type { Destination } from './destination';
/**
* Build a request header object, that contains authentication headers and SAP specific headers like 'sap-client', from a given destination.
* @param destination - The given destination that contains e.g., authentication and SAP client information.
* @returns A request header object, built from the given destination.
*/
export declare function buildHeadersForDestination(destination: Destination): Promise<Record<string, string>>;