MCPcopy Create free account
hub / github.com/angular/angular / MyHttpInterceptor

Class MyHttpInterceptor

packages/platform-server/test/integration_spec.ts:483–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481
482@Injectable()
483export 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],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected