UNPKG

634 BTypeScriptView Raw
1/**
2 * Filter disallowed keys from a given custom request config object.
3 * @param customRequestConfig - a given custom request config object to be filtered
4 * @param disallowedKeys - A list of keys that are not allowed to be customized.
5 * @returns Filtered custom request config object.
6 */
7export declare function filterCustomRequestConfig(customRequestConfig: Record<string, string>, disallowedKeys?: string[]): Record<string, string>;
8/**
9 * A list of request config keys that are not allowed to be customized by default.
10 */
11export declare const defaultDisallowedKeys: string[];
12//# sourceMappingURL=http-request-config.d.ts.map
\No newline at end of file