| 481 | |
| 482 | @Injectable() |
| 483 | export class MyHttpInterceptor implements HttpInterceptor { |
| 484 | constructor(private http: HttpClient) {} |
| 485 | |
| 486 | intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { |
| 487 | return next.handle(req); |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | @NgModule({ |
| 492 | bootstrap: [MyServerApp], |
nothing calls this directly
no outgoing calls
no test coverage detected