MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,475 in github.com/nodejs/undici

↓ 1 callersMethodrunLookup
(origin, opts, cb)
lib/interceptor/dns.js:157
↓ 1 callersFunctionrunNode
(source)
test/node-test/global-dispatcher-version.js:11
↓ 1 callersFunctionrunRequests
(pool, numIterations, expectTLSSessionCache)
test/tls-session-reuse.js:161
↓ 1 callersFunctionrunSingleTest
(url, options, expectation, timeout = 10000)
test/web-platform-tests/wpt-runner.mjs:333
↓ 1 callersFunctionrunTest
()
test/tls-cert-leak.js:122
↓ 1 callersFunctionrunWithTestUtil
(testFunction)
test/web-platform-tests/wpt-runner.mjs:299
↓ 1 callersFunctionrunWorker
()
test/cache-interceptor/cache-tests.mjs:177
↓ 1 callersFunctionsafeUrl
(path)
lib/mock/mock-utils.js:128
↓ 1 callersFunctionsanitizeUnpairedSurrogates
(str)
test/web-platform-tests/runner/utils.mjs:2
↓ 1 callersFunctionscheduleIdleSocketValidation
(client, socket)
lib/dispatcher/client-h1.js:1062
↓ 1 callersFunctionschemeFetch
(fetchParams)
lib/web/fetch/index.js:814
↓ 1 callersMethodsearch
* @param {Uint8Array} key * @returns {TstNode | null}
lib/core/tree.js:91
↓ 1 callersMethodsendAuthRequest
* Send username/password authentication request
lib/core/socks5-client.js:214
↓ 1 callersFunctionsendCachedValue
* @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler * @param {import('../../types/dispatcher.d.ts').default.RequestOptio
lib/interceptor/cache.js:324
↓ 1 callersFunctionsendInDelayedChunks
(res, payload, delay)
test/utils/hello-world-server.js:14
↓ 1 callersFunctionsendReply
()
lib/mock/mock-utils.js:441
↓ 1 callersFunctionserializeJavascriptValueToJSONString
(value)
lib/web/infra/index.js:202
↓ 1 callersFunctionset
(domain)
test/cookie/validate-cookie-domain.js:8
↓ 1 callersMethodset
(sessionKey, session)
lib/core/connect.js:36
↓ 1 callersMethodset
* @param {Feature} feature * @param {boolean} value
lib/util/runtime-features.js:72
↓ 1 callersFunctionsetCurrentTransaction
(trans)
test/node-test/async_hooks.js:19
↓ 1 callersMethodsetLocalWindowSize
(size)
test/http2-window-size.js:34
↓ 1 callersFunctionsetNoStreamsTimeout
(session)
lib/dispatcher/client-h2.js:446
↓ 1 callersMethodsetRecords
(origin, addresses)
lib/interceptor/dns.js:354
↓ 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:1147
↓ 1 callersFunctionsettleOrTimeout
(promise, ms, label)
test/http2-request-never-settles.js:50
↓ 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:945
↓ 1 callersFunctionseverRequestStream
(stream)
lib/dispatcher/client-h2.js:229
↓ 1 callersFunctionshouldProxyTunnel
(requestProtocol, proxyTunnel)
lib/dispatcher/proxy-agent.js:41
↓ 1 callersFunctionshouldRemoveHeader
(header, removeContent, unknownOrigin, stripHeaders, stripHeadersOnCrossOrigin)
lib/handler/redirect-handler.js:178
↓ 1 callersFunctionshouldSendContentLength
(method)
lib/dispatcher/client-h1.js:1143
↓ 1 callersFunctionshouldSendContentLength
(method)
lib/dispatcher/client-h2.js:825
↓ 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:1084
↓ 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:54
↓ 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:781
↓ 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:529
↓ 1 callersMethodsyncLineStartToCursor
()
lib/web/eventsource/eventsource-stream.js:407
↓ 1 callersFunctiontestCase
(expected, actual)
test/client-request.js:633
↓ 1 callersFunctiontestCaseIdToWeight
(testCaseId)
test/autobahn/report.js:19
↓ 1 callersFunctiontestLockedWritableClose
(t, clean)
test/websocket/stream/close-locked-writable.js:27
↓ 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:375
↓ 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 callersFunctiontrackServerResources
(server)
test/issue-5087.js:16
↓ 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:41
↓ 1 callersFunctiontrimOWS
(value)
lib/handler/cache-handler.js:36
↓ 1 callersFunctiontrimOWSEnd
(value)
lib/util/cache.js:35
↓ 1 callersFunctiontrimOWSStart
(value)
lib/util/cache.js:31
↓ 1 callersFunctiontryUpgradeRequestToAPotentiallyTrustworthyURL
(request)
lib/web/fetch/util.js:688
↓ 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:735
↓ 1 callersFunctionwaitFor
(predicate, timeout = 1000)
test/issue-5381.js:12
↓ 1 callersFunctionwaitForDrain
()
lib/dispatcher/client-h1.js:1608
↓ 1 callersFunctionwaitForDrain
()
lib/dispatcher/client-h2.js:1735
↓ 1 callersFunctionwaitForExit
(child, timeout)
test/websocket/process-ref.js:9
↓ 1 callersFunctionwaitForExit
(child, timeout)
test/websocket/stream/close-locked-writable.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 callersFunctionwithClient
(t, compose)
test/interceptors/body-sent-hooks.js:45
↓ 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:245
↓ 1 callersMethodwrapHandler
(handler)
lib/dispatcher/dispatcher1-wrapper.js:79
← previousnext →1,101–1,200 of 2,475, ranked by callers