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

Method entries

lib/web/fetch/headers.js:318–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

316 }
317
318 get entries () {
319 const headers = {}
320
321 if (this.headersMap.size !== 0) {
322 for (const { name, value } of this.headersMap.values()) {
323 headers[name] = value
324 }
325 }
326
327 return headers
328 }
329
330 rawValues () {
331 return this.headersMap.values()

Callers 15

parseRawHeadersFunction · 0.45
toRawHeadersFunction · 0.45
lowerCaseEntriesFunction · 0.45
matchHeadersFunction · 0.45
normalizeSearchParamsFunction · 0.45
normalizeHeadersFunction · 0.45
filterHeadersForMatchingFunction · 0.45
filterHeadersForStorageFunction · 0.45
loadSnapshotsMethod · 0.45
saveSnapshotsMethod · 0.45
replaceSnapshotsMethod · 0.45
pendingInterceptorsMethod · 0.45

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected