UNPKG

axios-etag-cache

Version:

Axios etag interceptor to enable If-None-Match request with ETAG support

8 lines (7 loc) 317 B
import { ConstructableCache } from './Cache'; export interface axiosETAGCacheOptions { cacheClass?: ConstructableCache<any>; enablePost?: boolean; } export declare const getHeaderCaseInsensitive: (headerName: any, headers?: {}) => any; export declare const cyrb53: (str: any, seed?: number) => number;