1.0.5 • Published 3 years ago

ng-deduplicate-interceptor v1.0.5

Weekly downloads
19
License
ISC
Repository
github
Last release
3 years ago

NgDeduplicateInterceptor

Scope

This interceptor will catch all simultaneous HEAD, OPTIONS and GET and reduce those to a single call with share().

Disclaimer

This library was made for my own usage, and is provided AS IS, use it at your risk.

Usage

Install via npm i --save ng-deduplicate-interceptor

then add interceptor to providers, es:

import { NgDeduplicateInterceptorService } from 'ng-deduplicate-interceptor';

providers: [
  ...
  {
    provide: HTTP_INTERCEPTORS,
    useClass: NgDeduplicateInterceptorService,
    multi: true
  }
]

Credits

This library was generated with Angular CLI version 7.2.0.

1.0.5

3 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.1

5 years ago