@sap-cloud-sdk/core
Version:
SAP Cloud SDK for JavaScript core
12 lines • 634 B
TypeScript
/**
* Filter disallowed keys from a given custom request config object.
* @param customRequestConfig - a given custom request config object to be filtered
* @param disallowedKeys - A list of keys that are not allowed to be customized.
* @returns Filtered custom request config object.
*/
export declare function filterCustomRequestConfig(customRequestConfig: Record<string, string>, disallowedKeys?: string[]): Record<string, string>;
/**
* A list of request config keys that are not allowed to be customized by default.
*/
export declare const defaultDisallowedKeys: string[];
//# sourceMappingURL=http-request-config.d.ts.map