MCPcopy
hub / github.com/angular/angular / InterceptorC

Class InterceptorC

packages/common/http/test/module_spec.ts:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57class InterceptorC extends TestInterceptor {
58 constructor() {
59 super('C');
60 }
61
62 override intercept(req: HttpRequest<any>, delegate: HttpHandler): Observable<HttpEvent<any>> {
63 if (req.context.get(IS_INTERCEPTOR_C_ENABLED) === true) {
64 return super.intercept(req, delegate);
65 }
66 return delegate.handle(req);
67 }
68}
69
70@Injectable()
71class ReentrantInterceptor implements HttpInterceptor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…