MCPcopy
hub / github.com/angular/angular / newRequest

Method newRequest

packages/service-worker/worker/src/adapter.ts:40–42  ·  view source on GitHub ↗

* Wrapper around the `Request` constructor.

(input: string | Request, init?: RequestInit)

Source from the content-addressed store, hash-verified

38 * Wrapper around the `Request` constructor.
39 */
40 newRequest(input: string | Request, init?: RequestInit): Request {
41 return new Request(input, init);
42 }
43
44 /**
45 * Wrapper around the `Response` constructor.

Callers 9

fetchLatestManifestMethod · 0.45
clearCacheForUrlMethod · 0.45
cacheStatusFunction · 0.45
fetchFromCacheOnlyFunction · 0.45
newRequestWithMetadataFunction · 0.45
initializeFullyMethod · 0.45
initializeFullyMethod · 0.45
handleFetchMethod · 0.45
requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected