MCPcopy
hub / github.com/nodejs/undici / add

Method add

types/cache.d.ts:19–19  ·  view source on GitHub ↗
(request: RequestInfo)

Source from the content-addressed store, hash-verified

17 match (request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>,
18 matchAll (request?: RequestInfo, options?: CacheQueryOptions): Promise<readonly Response[]>,
19 add (request: RequestInfo): Promise<undefined>,
20 addAll (requests: RequestInfo[]): Promise<undefined>,
21 put (request: RequestInfo, response: Response): Promise<undefined>,
22 delete (request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>,

Callers 15

[kDispatch]Method · 0.65
insertMethod · 0.65
cloneMethod · 0.65
parseControlFrameMethod · 0.65
closeWebSocketConnectionFunction · 0.65
sendMethod · 0.65
normalizeStripHeadersFunction · 0.65
createTrackedServerFunction · 0.65
mock-agent.jsFile · 0.65
onServerLineFunction · 0.65

Implementers 1

Cachelib/web/cache/cache.js

Calls

no outgoing calls

Tested by

no test coverage detected