MCPcopy Index your code
hub / github.com/angular/angular / LegacyTagInterceptor

Class LegacyTagInterceptor

packages/common/http/test/provider_spec.ts:631–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629
630function provideLegacyInterceptor(tag: string): Provider {
631 class LegacyTagInterceptor implements HttpInterceptor {
632 intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
633 return next.handle(addTagToRequest(req, tag));
634 }
635 }
636
637 const token = new InjectionToken(`LegacyTagInterceptor[${tag}]`, {
638 providedIn: 'root',

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…