@cauca-911/core
Version:
Run `npm install @cauca-911/core` to add this library to your project
13 lines (12 loc) • 632 B
TypeScript
import { HttpEvent, HttpHandler, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { InterceptorErrorService } from './interceptor-error.service';
import * as i0 from "@angular/core";
export declare class HttpOfflineInterceptor {
private interceptorErrorService;
constructor(interceptorErrorService: InterceptorErrorService);
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
private onOffline;
static ɵfac: i0.ɵɵFactoryDeclaration<HttpOfflineInterceptor, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<HttpOfflineInterceptor>;
}