UNPKG

679 BTypeScriptView Raw
1import { ODataRequest, ODataRequestConfig } from './request';
2/**
3 * Create object containing all headers, including custom headers for a given OData request configuration and destination.
4 * Custom headers override duplicate headers.
5 * @typeparam RequestT - Type of the request the headers are built for
6 * @param request - OData request configuration to create headers for
7 * @returns Key-value pairs where the key is the name of a header property and the value is the respective value
8 */
9export declare function buildHeaders<RequestT extends ODataRequestConfig>(request: ODataRequest<RequestT>): Promise<Record<string, string>>;
10//# sourceMappingURL=header-builder.d.ts.map
\No newline at end of file