1 import { Injectable, Injector } from '@angular/core';
2 import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse } from '@angular/common/http';
3 import { Observable, of } from 'rxjs';
6 export class HttpRequestInterceptor implements HttpInterceptor {
7 constructor(private injector: Injector) {}
9 intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
10 console.log('Interceptor Invoked' + request.url);
11 return next.handle(request);