MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,421 in github.com/nodejs/undici

↓ 1 callersFunctionsetNoStreamsTimeout
(session)
lib/dispatcher/client-h2.js:444
↓ 1 callersMethodsetRecords
(origin, addresses)
lib/interceptor/dns.js:353
↓ 1 callersFunctionsetRequestReferrerPolicyOnRedirect
* Given a request request and a response actualResponse, this algorithm * updates request’s referrer policy according to the Referrer-Policy * heade
lib/web/fetch/util.js:201
↓ 1 callersFunctionsetTypeOfService
(socket, request)
lib/dispatcher/client-h1.js:1139
↓ 1 callersFunctionsettleOrTimeout
(promise, ms, label)
test/http2-request-never-settles.js:46
↓ 1 callersFunctionsettleOrTimeout
(promise, ms)
test/http2-max-concurrent-streams-zero.js:25
↓ 1 callersFunctionsetup
()
test/web-platform-tests/wpt-runner.mjs:587
↓ 1 callersFunctionsetupCleanup
(t, resources)
test/snapshot-testing.js:48
↓ 1 callersFunctionsetupGlobalTestharnessCallbacks
()
test/web-platform-tests/runner/test-runner.mjs:92
↓ 1 callersFunctionsetupHostsFile
()
test/web-platform-tests/wpt-runner.mjs:623
↓ 1 callersFunctionsetupListener
()
test/websocket/opening-handshake.js:171
↓ 1 callersFunctionsetupServer
(server)
test/snapshot-testing.js:41
↓ 1 callersFunctionsetupUpgradeStream
(stream, state)
lib/dispatcher/client-h2.js:943
↓ 1 callersFunctionseverRequestStream
(stream)
lib/dispatcher/client-h2.js:227
↓ 1 callersFunctionshouldProxyTunnel
(requestProtocol, proxyTunnel)
lib/dispatcher/proxy-agent.js:40
↓ 1 callersFunctionshouldRemoveHeader
(header, removeContent, unknownOrigin, stripHeaders, stripHeadersOnCrossOrigin)
lib/handler/redirect-handler.js:161
↓ 1 callersFunctionshouldSendContentLength
(method)
lib/dispatcher/client-h1.js:1135
↓ 1 callersFunctionshouldSendContentLength
(method)
lib/dispatcher/client-h2.js:823
↓ 1 callersFunctionsimpleRangeHeaderValue
* @see https://fetch.spec.whatwg.org/#simple-range-header-value * @param {string} value * @param {boolean} allowWhitespace * @return {RangeHeaderVa
lib/web/fetch/util.js:1079
↓ 1 callersFunctionsleep
(ms)
test/client-retry-resume-backpressure.js:13
↓ 1 callersFunctionsleep
(delay)
test/mock-agent.js:3328
↓ 1 callersFunctionsnapshotPath
(suffix)
test/mock/issue-4663.js:19
↓ 1 callersFunctionsocketFailEndWrite
(type)
test/node-test/client-errors.js:1155
↓ 1 callersFunctionsocketFailWrite
(type)
test/node-test/client-errors.js:1115
↓ 1 callersFunctionsplitBuffer
(buffer, chunkSize)
benchmarks/eventsource/eventsource-stream.mjs:20
↓ 1 callersFunctionsplitCacheControlHeaderValue
(value)
lib/util/cache.js:53
↓ 1 callersMethodstart
()
benchmarks/_util/runner.js:30
↓ 1 callersFunctionstartLiveServer
(t)
test/mock/issue-4663.js:23
↓ 1 callersFunctionstartRedirectingWithRelativePath
(t)
test/utils/redirecting-servers.js:214
↓ 1 callersFunctionstartServer
()
test/issue-4880.js:62
↓ 1 callersFunctionstartWPTServer
()
test/web-platform-tests/wpt-runner.mjs:209
↓ 1 callersFunctionstatelessParseContentLength
(buf)
benchmarks/core/parse-content-length.mjs:16
↓ 1 callersFunctionstreamServerLogs
(stream, target, onLine)
test/web-platform-tests/wpt-runner.mjs:40
↓ 1 callersFunctionstripNecessaryHeaders
* Strips headers required to be removed in cached responses * @param {import('../../types/header.d.ts').IncomingHttpHeaders} resHeaders * @param {im
lib/handler/cache-handler.js:757
↓ 1 callersFunctionstripURLForReferrer
* Certain portions of URLs must not be included when sending a URL as the * value of a `Referer` header: a URLs fragment, username, and password * c
lib/web/fetch/util.js:524
↓ 1 callersMethodsyncLineStartToCursor
()
lib/web/eventsource/eventsource-stream.js:380
↓ 1 callersFunctiontestCase
(expected, actual)
test/client-request.js:633
↓ 1 callersFunctiontestCaseIdToWeight
(testCaseId)
test/autobahn/report.js:19
↓ 1 callersFunctionthrowIfProxyAuthIsSent
* @param {Record<string, string>} headers * * Previous versions of ProxyAgent suggests the Proxy-Authorization in request headers * Nevertheless, i
lib/dispatcher/proxy-agent.js:358
↓ 1 callersFunctiontick
(duration)
test/timers.js:18
↓ 1 callersFunctiontickOnConnect
(client, tick)
test/request-timeout.js:27
↓ 1 callersFunctiontoArrayBuffer
* @param {Buffer} buffer * @returns {ArrayBuffer}
lib/web/websocket/util.js:87
↓ 1 callersFunctiontoBuffer
(data, hint)
lib/web/websocket/sender.js:98
↓ 1 callersFunctiontrackClientEvents
(debugLog = undiciDebugLog)
lib/core/diagnostics.js:36
↓ 1 callersFunctiontrackRequestEvents
(debugLog = undiciDebugLog)
lib/core/diagnostics.js:106
↓ 1 callersFunctiontrackWebSocketEvents
(debugLog = websocketDebuglog)
lib/core/diagnostics.js:162
↓ 1 callersFunctiontrackWritableLifecycle
(stream, callback)
lib/api/api-stream.js:21
↓ 1 callersFunctiontrimOWS
(value)
lib/interceptor/cache.js:32
↓ 1 callersFunctiontrimOWS
(value)
lib/handler/cache-handler.js:36
↓ 1 callersFunctiontrimOWSEnd
(value)
lib/util/cache.js:34
↓ 1 callersFunctiontrimOWSStart
(value)
lib/util/cache.js:30
↓ 1 callersFunctiontryUpgradeRequestToAPotentiallyTrustworthyURL
(request)
lib/web/fetch/util.js:683
↓ 1 callersFunctionupdateExpectations
(results)
test/web-platform-tests/wpt-runner.mjs:428
↓ 1 callersFunctionupgrade
(opts, callback)
lib/api/api-upgrade.js:95
↓ 1 callersFunctionurlEquals
* @see https://url.spec.whatwg.org/#concept-url-equals * @param {URL} A * @param {URL} B * @param {boolean | undefined} excludeFragment * @returns
lib/web/cache/util.js:14
↓ 1 callersFunctionusesProxyAgent
(agent, url)
test/env-http-proxy-agent.js:234
↓ 1 callersFunctionvalidateCookieDomain
* Validates a cookie domain against the "preferred name syntax". * * <domain> ::= <subdomain> | " " * <subdomain> ::= <label> | <subdomain>
lib/web/cookies/util.js:149
↓ 1 callersFunctionvalidateCookieMaxAge
max-age-av = "Max-Age=" non-zero-digit *DIGIT ; In practice, both expires-av and max-age-av ; are
lib/web/cookies/util.js:263
↓ 1 callersFunctionvalidatePartialResponseContentLength
(headers, range, statusCode, retryCount)
lib/handler/retry-handler.js:17
↓ 1 callersFunctionvalidateSnapshotMode
* @param {*} mode - The snapshot mode to validate * @returns {asserts mode is SnapshotMode}
lib/mock/snapshot-utils.js:145
↓ 1 callersFunctionvaryMatches
(key, entry)
lib/cache/memory-cache-store.js:233
↓ 1 callersFunctionwaitFor
(fn)
test/http2-dispatcher.js:699
↓ 1 callersFunctionwaitFor
(predicate, timeout = 1000)
test/issue-5381.js:12
↓ 1 callersFunctionwaitForDrain
()
lib/dispatcher/client-h1.js:1600
↓ 1 callersFunctionwaitForDrain
()
lib/dispatcher/client-h2.js:1695
↓ 1 callersFunctionwaitForExit
(child, timeout)
test/websocket/process-ref.js:9
↓ 1 callersFunctionwaitForServer
* @param {string} baseUrl * @returns {Promise<void>}
test/cache-interceptor/cache-tests-worker.mjs:98
↓ 1 callersFunctionwaitMaybePromiseLike
(p)
benchmarks/_util/runner.js:67
↓ 1 callersFunctionwaitingWithBody
(body, type)
test/node-test/abort-event-emitter.js:182
↓ 1 callersFunctionwaitingWithBody
(body, type)
test/node-test/abort-controller.js:161
↓ 1 callersFunctionwalkManifest
(folder, parentExpectation, prefix)
test/web-platform-tests/wpt-runner.mjs:484
↓ 1 callersFunctionwebsocketMessageReceived
* @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol * @param {import('./websocket').Handler} handler * @param {number} type Opcode
lib/web/websocket/util.js:79
↓ 1 callersFunctionwithinStaleWhileRevalidateWindow
* Check if we're within the stale-while-revalidate window for a stale response * @param {import('../../types/cache-interceptor.d.ts').default.GetResu
lib/interceptor/cache.js:214
↓ 1 callersMethodwrapHandler
(handler)
lib/dispatcher/dispatcher1-wrapper.js:76
↓ 1 callersFunctionwrapRequestBody
* @param {*} body * @returns {*}
lib/core/util.js:34
↓ 1 callersMethodwrite
()
test/http2-late-data.js:47
↓ 1 callersMethodwrite
()
test/http2-response-after-completion.js:63
↓ 1 callersMethodwrite
(chunk, encoding, callback)
benchmarks/post-benchmark.js:130
↓ 1 callersMethodwrite
(chunk, encoding, callback)
benchmarks/benchmark-https.js:106
↓ 1 callersMethodwrite
(chunk, encoding, callback)
benchmarks/benchmark-http2.js:90
↓ 1 callersFunctionwriteBlob
* @param {AbortCallback} abort * @param {Blob} body * @param {import('./client.js')} client * @param {import('../core/request.js')} request * @par
lib/dispatcher/client-h1.js:1551
↓ 1 callersFunctionwriteBlob
(abort, h2stream, body, client, request, socket, contentLength, expectsPayload)
lib/dispatcher/client-h2.js:1657
↓ 1 callersFunctionwriteBodyStartedWithBody
(body, type)
test/node-test/abort-event-emitter.js:241
↓ 1 callersFunctionwriteBodyStartedWithBody
(body, type)
test/node-test/abort-controller.js:220
↓ 1 callersFunctionwriteBuffer
* @param {AbortCallback} abort * @param {Uint8Array|null} body * @param {import('./client.js')} client * @param {import('../core/request.js')} requ
lib/dispatcher/client-h1.js:1510
↓ 1 callersFunctionwriteBuffer
(abort, h2stream, body, client, request, socket, contentLength, expectsPayload)
lib/dispatcher/client-h2.js:1603
↓ 1 callersMethodwriteFragments
(fragment)
lib/web/websocket/receiver.js:355
↓ 1 callersFunctionwriteH1
* @param {import('./client.js')} client * @param {import('../core/request.js')} request * @returns
lib/dispatcher/client-h1.js:1170
↓ 1 callersFunctionwriteH2
(client, request)
lib/dispatcher/client-h2.js:1003
↓ 1 callersFunctionwriteHeadersStartedWithBody
(body, type)
test/node-test/abort-event-emitter.js:211
↓ 1 callersFunctionwriteHeadersStartedWithBody
(body, type)
test/node-test/abort-controller.js:190
↓ 1 callersFunctionwriteIterable
* @param {AbortCallback} abort * @param {Iterable} body * @param {import('./client.js')} client * @param {import('../core/request.js')} request *
lib/dispatcher/client-h1.js:1588
↓ 1 callersFunctionwriteIterable
(abort, h2stream, body, client, request, socket, contentLength, expectsPayload)
lib/dispatcher/client-h2.js:1683
↓ 1 callersFunctionwriteStream
* @param {AbortCallback} abort * @param {import('stream').Stream} body * @param {import('./client.js')} client * @param {import('../core/request.js
lib/dispatcher/client-h1.js:1372
↓ 1 callersFunctionwriteStream
(abort, socket, expectsPayload, h2stream, body, client, request, contentLength)
lib/dispatcher/client-h2.js:1626
↓ 1 callersFunctionzeroContentLength
(bodyType)
test/content-length.js:164
Method#defaultLookup
(origin, opts, cb)
lib/interceptor/dns.js:241
Method#defaultPick
(origin, hostnameRecords, affinity)
lib/interceptor/dns.js:267
Method#noProxyChanged
()
lib/dispatcher/env-http-proxy-agent.js:156
Method#noProxyEnv
()
lib/dispatcher/env-http-proxy-agent.js:163
← previousnext →1,101–1,200 of 2,421, ranked by callers