UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

15 lines (14 loc) 663 B
/** * @packageDocumentation * @module api */ import { HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { ApiGatewayService } from './api-gateway.service'; import * as i0 from "@angular/core"; export declare class ApiGatewayInterceptor implements HttpInterceptor { private readonly apiGateway; constructor(apiGateway: ApiGatewayService); intercept(req: HttpRequest<unknown>, next: HttpHandler): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<ApiGatewayInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ApiGatewayInterceptor>; }