UNPKG

@sap-cloud-sdk/core

Version:
10 lines 679 B
import { ODataRequest, ODataRequestConfig } from './request'; /** * Create object containing all headers, including custom headers for a given OData request configuration and destination. * Custom headers override duplicate headers. * @typeparam RequestT - Type of the request the headers are built for * @param request - OData request configuration to create headers for * @returns Key-value pairs where the key is the name of a header property and the value is the respective value */ export declare function buildHeaders<RequestT extends ODataRequestConfig>(request: ODataRequest<RequestT>): Promise<Record<string, string>>; //# sourceMappingURL=header-builder.d.ts.map