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

Function makeLiteralTagInterceptorFn

packages/common/http/test/provider_spec.ts:649–651  ·  view source on GitHub ↗
(tag: string)

Source from the content-addressed store, hash-verified

647}
648
649function makeLiteralTagInterceptorFn(tag: string): HttpInterceptorFn {
650 return (req, next) => next(addTagToRequest(req, tag));
651}
652
653function makeTokenTagInterceptorFn(tag: InjectionToken<string>): HttpInterceptorFn {
654 return (req, next) => next(addTagToRequest(req, inject(tag)));

Callers 1

provider_spec.tsFile · 0.85

Calls 2

addTagToRequestFunction · 0.85
nextFunction · 0.50

Tested by

no test coverage detected