UNPKG

p3x-angular-http-cache-interceptor

Version:

🔥 Cache every request in Angular, not only the GET, but all methods of this interceptor, and allows you to interact with the interceptor via specific headers and modify the request, and these specific headers will be not included in the final request

10 lines (9 loc) • 564 B
import { ModuleWithProviders } from '@angular/core'; import { HttpCacheConfig } from "./http-cache-config"; import * as i0 from "@angular/core"; export declare class P3XHttpCacheInterceptorModule { static forRoot(httpCacheConfig: HttpCacheConfig): ModuleWithProviders<P3XHttpCacheInterceptorModule>; static ɵfac: i0.ɵɵFactoryDeclaration<P3XHttpCacheInterceptorModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<P3XHttpCacheInterceptorModule, never, never, never>; static ɵinj: i0.ɵɵInjectorDeclaration<P3XHttpCacheInterceptorModule>; }