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

Function makeLiteralTagInterceptorFn

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

Source from the content-addressed store, hash-verified

650}
651
652function makeLiteralTagInterceptorFn(tag: string): HttpInterceptorFn {
653 return (req, next) => next(addTagToRequest(req, tag));
654}
655
656function makeTokenTagInterceptorFn(tag: InjectionToken<string>): HttpInterceptorFn {
657 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