Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/undici
/ functions
Functions
2,475 in github.com/nodejs/undici
⨍
Functions
2,475
◇
Types & classes
605
↓ 1 callers
Method
runLookup
(origin, opts, cb)
lib/interceptor/dns.js:157
↓ 1 callers
Function
runNode
(source)
test/node-test/global-dispatcher-version.js:11
↓ 1 callers
Function
runRequests
(pool, numIterations, expectTLSSessionCache)
test/tls-session-reuse.js:161
↓ 1 callers
Function
runSingleTest
(url, options, expectation, timeout = 10000)
test/web-platform-tests/wpt-runner.mjs:333
↓ 1 callers
Function
runTest
()
test/tls-cert-leak.js:122
↓ 1 callers
Function
runWithTestUtil
(testFunction)
test/web-platform-tests/wpt-runner.mjs:299
↓ 1 callers
Function
runWorker
()
test/cache-interceptor/cache-tests.mjs:177
↓ 1 callers
Function
safeUrl
(path)
lib/mock/mock-utils.js:128
↓ 1 callers
Function
sanitizeUnpairedSurrogates
(str)
test/web-platform-tests/runner/utils.mjs:2
↓ 1 callers
Function
scheduleIdleSocketValidation
(client, socket)
lib/dispatcher/client-h1.js:1062
↓ 1 callers
Function
schemeFetch
(fetchParams)
lib/web/fetch/index.js:814
↓ 1 callers
Method
search
* @param {Uint8Array} key * @returns {TstNode | null}
lib/core/tree.js:91
↓ 1 callers
Method
sendAuthRequest
* Send username/password authentication request
lib/core/socks5-client.js:214
↓ 1 callers
Function
sendCachedValue
* @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler * @param {import('../../types/dispatcher.d.ts').default.RequestOptio
lib/interceptor/cache.js:324
↓ 1 callers
Function
sendInDelayedChunks
(res, payload, delay)
test/utils/hello-world-server.js:14
↓ 1 callers
Function
sendReply
()
lib/mock/mock-utils.js:441
↓ 1 callers
Function
serializeJavascriptValueToJSONString
(value)
lib/web/infra/index.js:202
↓ 1 callers
Function
set
(domain)
test/cookie/validate-cookie-domain.js:8
↓ 1 callers
Method
set
(sessionKey, session)
lib/core/connect.js:36
↓ 1 callers
Method
set
* @param {Feature} feature * @param {boolean} value
lib/util/runtime-features.js:72
↓ 1 callers
Function
setCurrentTransaction
(trans)
test/node-test/async_hooks.js:19
↓ 1 callers
Method
setLocalWindowSize
(size)
test/http2-window-size.js:34
↓ 1 callers
Function
setNoStreamsTimeout
(session)
lib/dispatcher/client-h2.js:446
↓ 1 callers
Method
setRecords
(origin, addresses)
lib/interceptor/dns.js:354
↓ 1 callers
Function
setRequestReferrerPolicyOnRedirect
* 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 callers
Function
setTypeOfService
(socket, request)
lib/dispatcher/client-h1.js:1147
↓ 1 callers
Function
settleOrTimeout
(promise, ms, label)
test/http2-request-never-settles.js:50
↓ 1 callers
Function
settleOrTimeout
(promise, ms)
test/http2-max-concurrent-streams-zero.js:25
↓ 1 callers
Function
setup
()
test/web-platform-tests/wpt-runner.mjs:587
↓ 1 callers
Function
setupCleanup
(t, resources)
test/snapshot-testing.js:48
↓ 1 callers
Function
setupGlobalTestharnessCallbacks
()
test/web-platform-tests/runner/test-runner.mjs:92
↓ 1 callers
Function
setupHostsFile
()
test/web-platform-tests/wpt-runner.mjs:623
↓ 1 callers
Function
setupListener
()
test/websocket/opening-handshake.js:171
↓ 1 callers
Function
setupServer
(server)
test/snapshot-testing.js:41
↓ 1 callers
Function
setupUpgradeStream
(stream, state)
lib/dispatcher/client-h2.js:945
↓ 1 callers
Function
severRequestStream
(stream)
lib/dispatcher/client-h2.js:229
↓ 1 callers
Function
shouldProxyTunnel
(requestProtocol, proxyTunnel)
lib/dispatcher/proxy-agent.js:41
↓ 1 callers
Function
shouldRemoveHeader
(header, removeContent, unknownOrigin, stripHeaders, stripHeadersOnCrossOrigin)
lib/handler/redirect-handler.js:178
↓ 1 callers
Function
shouldSendContentLength
(method)
lib/dispatcher/client-h1.js:1143
↓ 1 callers
Function
shouldSendContentLength
(method)
lib/dispatcher/client-h2.js:825
↓ 1 callers
Function
simpleRangeHeaderValue
* @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 callers
Function
sleep
(ms)
test/client-retry-resume-backpressure.js:13
↓ 1 callers
Function
sleep
(delay)
test/mock-agent.js:3328
↓ 1 callers
Function
snapshotPath
(suffix)
test/mock/issue-4663.js:19
↓ 1 callers
Function
socketFailEndWrite
(type)
test/node-test/client-errors.js:1155
↓ 1 callers
Function
socketFailWrite
(type)
test/node-test/client-errors.js:1115
↓ 1 callers
Function
splitBuffer
(buffer, chunkSize)
benchmarks/eventsource/eventsource-stream.mjs:20
↓ 1 callers
Function
splitCacheControlHeaderValue
(value)
lib/util/cache.js:54
↓ 1 callers
Method
start
()
benchmarks/_util/runner.js:30
↓ 1 callers
Function
startLiveServer
(t)
test/mock/issue-4663.js:23
↓ 1 callers
Function
startRedirectingWithRelativePath
(t)
test/utils/redirecting-servers.js:214
↓ 1 callers
Function
startServer
()
test/issue-4880.js:62
↓ 1 callers
Function
startWPTServer
()
test/web-platform-tests/wpt-runner.mjs:209
↓ 1 callers
Function
statelessParseContentLength
(buf)
benchmarks/core/parse-content-length.mjs:16
↓ 1 callers
Function
streamServerLogs
(stream, target, onLine)
test/web-platform-tests/wpt-runner.mjs:40
↓ 1 callers
Function
stripNecessaryHeaders
* 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 callers
Function
stripURLForReferrer
* 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 callers
Method
syncLineStartToCursor
()
lib/web/eventsource/eventsource-stream.js:407
↓ 1 callers
Function
testCase
(expected, actual)
test/client-request.js:633
↓ 1 callers
Function
testCaseIdToWeight
(testCaseId)
test/autobahn/report.js:19
↓ 1 callers
Function
testLockedWritableClose
(t, clean)
test/websocket/stream/close-locked-writable.js:27
↓ 1 callers
Function
throwIfProxyAuthIsSent
* @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 callers
Function
tick
(duration)
test/timers.js:18
↓ 1 callers
Function
tickOnConnect
(client, tick)
test/request-timeout.js:27
↓ 1 callers
Function
toArrayBuffer
* @param {Buffer} buffer * @returns {ArrayBuffer}
lib/web/websocket/util.js:87
↓ 1 callers
Function
toBuffer
(data, hint)
lib/web/websocket/sender.js:98
↓ 1 callers
Function
trackClientEvents
(debugLog = undiciDebugLog)
lib/core/diagnostics.js:36
↓ 1 callers
Function
trackRequestEvents
(debugLog = undiciDebugLog)
lib/core/diagnostics.js:106
↓ 1 callers
Function
trackServerResources
(server)
test/issue-5087.js:16
↓ 1 callers
Function
trackWebSocketEvents
(debugLog = websocketDebuglog)
lib/core/diagnostics.js:162
↓ 1 callers
Function
trackWritableLifecycle
(stream, callback)
lib/api/api-stream.js:21
↓ 1 callers
Function
trimOWS
(value)
lib/interceptor/cache.js:41
↓ 1 callers
Function
trimOWS
(value)
lib/handler/cache-handler.js:36
↓ 1 callers
Function
trimOWSEnd
(value)
lib/util/cache.js:35
↓ 1 callers
Function
trimOWSStart
(value)
lib/util/cache.js:31
↓ 1 callers
Function
tryUpgradeRequestToAPotentiallyTrustworthyURL
(request)
lib/web/fetch/util.js:688
↓ 1 callers
Function
updateExpectations
(results)
test/web-platform-tests/wpt-runner.mjs:428
↓ 1 callers
Function
upgrade
(opts, callback)
lib/api/api-upgrade.js:95
↓ 1 callers
Function
urlEquals
* @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 callers
Function
usesProxyAgent
(agent, url)
test/env-http-proxy-agent.js:234
↓ 1 callers
Function
validateCookieDomain
* Validates a cookie domain against the "preferred name syntax". * * <domain> ::= <subdomain> | " " * <subdomain> ::= <label> | <subdomain>
lib/web/cookies/util.js:149
↓ 1 callers
Function
validateCookieMaxAge
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 callers
Function
validatePartialResponseContentLength
(headers, range, statusCode, retryCount)
lib/handler/retry-handler.js:17
↓ 1 callers
Function
validateSnapshotMode
* @param {*} mode - The snapshot mode to validate * @returns {asserts mode is SnapshotMode}
lib/mock/snapshot-utils.js:145
↓ 1 callers
Function
varyMatches
(key, entry)
lib/cache/memory-cache-store.js:233
↓ 1 callers
Function
waitFor
(fn)
test/http2-dispatcher.js:735
↓ 1 callers
Function
waitFor
(predicate, timeout = 1000)
test/issue-5381.js:12
↓ 1 callers
Function
waitForDrain
()
lib/dispatcher/client-h1.js:1608
↓ 1 callers
Function
waitForDrain
()
lib/dispatcher/client-h2.js:1735
↓ 1 callers
Function
waitForExit
(child, timeout)
test/websocket/process-ref.js:9
↓ 1 callers
Function
waitForExit
(child, timeout)
test/websocket/stream/close-locked-writable.js:9
↓ 1 callers
Function
waitForServer
* @param {string} baseUrl * @returns {Promise<void>}
test/cache-interceptor/cache-tests-worker.mjs:98
↓ 1 callers
Function
waitMaybePromiseLike
(p)
benchmarks/_util/runner.js:67
↓ 1 callers
Function
waitingWithBody
(body, type)
test/node-test/abort-event-emitter.js:182
↓ 1 callers
Function
waitingWithBody
(body, type)
test/node-test/abort-controller.js:161
↓ 1 callers
Function
walkManifest
(folder, parentExpectation, prefix)
test/web-platform-tests/wpt-runner.mjs:484
↓ 1 callers
Function
websocketMessageReceived
* @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 callers
Function
withClient
(t, compose)
test/interceptors/body-sent-hooks.js:45
↓ 1 callers
Function
withinStaleWhileRevalidateWindow
* 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 callers
Method
wrapHandler
(handler)
lib/dispatcher/dispatcher1-wrapper.js:79
← previous
next →
1,101–1,200 of 2,475, ranked by callers