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
Function
detectRuntimeFeature
* @param {Feature} feature * @returns {boolean}
lib/util/runtime-features.js:36
↓ 1 callers
Function
detectRuntimeFeatureByNodeModule
* @param {NodeModuleName} moduleName * @returns {boolean}
lib/util/runtime-features.js:16
↓ 1 callers
Function
determineDeleteAt
* @param {number} baseTime * @param {number} cachedAt * @param {import('../../types/cache-interceptor.d.ts').default.CacheControlDirectives} cacheCo
lib/handler/cache-handler.js:736
↓ 1 callers
Function
determineRequestsReferrer
* Determine request’s Referrer * * @see https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer
lib/web/fetch/util.js:386
↓ 1 callers
Function
determineStaleAt
* @param {import('../../types/cache-interceptor.d.ts').default.CacheOptions['type']} cacheType * @param {number} now * @param {number | undefined} a
lib/handler/cache-handler.js:637
↓ 1 callers
Method
discardLeadingBytes
(count)
lib/web/eventsource/eventsource-stream.js:467
↓ 1 callers
Method
disconnect
(origin: URL, targets: readonly Dispatcher[], error: Errors.UndiciError)
test/types/dispatcher.events.test-d.ts:8
↓ 1 callers
Function
discoverTestsToRun
(filter, expectation)
test/web-platform-tests/wpt-runner.mjs:480
↓ 1 callers
Method
dispatch
(options, handler)
test/mock-agent.js:3464
↓ 1 callers
Method
dispatch
(options, handler)
test/fetch/issue-2898-comment.js:10
↓ 1 callers
Function
dispatchAndTrack
(dispatcher)
test/interceptors/body-sent-hooks.js:14
↓ 1 callers
Function
dispatchAsyncIterableBody
(body, handler, controller, isAborted)
lib/mock/mock-utils.js:576
↓ 1 callers
Function
dispatchMockReply
* Replies to a request once the mock dispatch data is fully resolved
lib/mock/mock-utils.js:358
↓ 1 callers
Function
dispatchRequestBody
(body, handler, controller, isAborted)
lib/mock/mock-utils.js:536
↓ 1 callers
Function
doNotKillReqSocket
(bodyType)
test/http-req-destroy.js:10
↓ 1 callers
Function
drainingServer
()
test/http2-max-concurrent-streams-zero.js:42
↓ 1 callers
Function
emitDrain
(client)
lib/dispatcher/client.js:638
↓ 1 callers
Function
emitH2OptionsNamespaceWarning
(optName)
lib/dispatcher/client.js:78
↓ 1 callers
Method
error
()
lib/web/websocket/events.js:179
↓ 1 callers
Function
errorAndChunkedEncodingPipelining
(type)
test/node-test/client-errors.js:238
↓ 1 callers
Function
errorAndPipelining
(type)
test/node-test/client-errors.js:181
↓ 1 callers
Function
errorHandlingExample
()
docs/examples/socks5-proxy.js:134
↓ 1 callers
Function
errorWithDefaultMessage
()
test/errors.js:37
↓ 1 callers
Function
errorWithProvidedMessage
()
test/errors.js:38
↓ 1 callers
Function
errordInflightPost
(bodyType)
test/client-pipelining.js:345
↓ 1 callers
Function
exampleCode
()
test/imports/undici-import.ts:4
↓ 1 callers
Function
extractLines
(chunks)
test/node-test/debug.js:169
↓ 1 callers
Function
f
()
test/types/mock-errors.test-d.ts:12
↓ 1 callers
Function
f
()
test/types/errors.test-d.ts:125
↓ 1 callers
Function
factory
(origin, options)
test/node-test/balanced-pool.js:749
↓ 1 callers
Function
fetchWithSocks5Example
()
docs/examples/socks5-proxy.js:57
↓ 1 callers
Function
filterEnvironments
* @param {TestEnvironment[]} environments * @returns {TestEnvironment[]}
test/cache-interceptor/cache-tests.mjs:344
↓ 1 callers
Function
finalMemoryCheck
()
test/tls-cert-leak.js:184
↓ 1 callers
Function
finalizeAndReportTiming
(response, initiatorType = 'other')
lib/web/fetch/index.js:304
↓ 1 callers
Function
finalizeResponse
(fetchParams, response)
lib/web/fetch/index.js:1011
↓ 1 callers
Function
findUnescapedQuote
(value, start)
lib/util/cache.js:39
↓ 1 callers
Method
flatMap
(callbackfn: (value: T, index: number) => Iterator<U> | Iterable<U>)
types/fetch.d.ts:74
↓ 1 callers
Function
flushMeasuredStreams
()
test/issue-5390.js:28
↓ 1 callers
Function
forgivingBase64
* @param {string} data * @returns {Uint8Array | 'failure'} * * @see https://infra.spec.whatwg.org/#forgiving-base64-decode
lib/web/infra/index.js:62
↓ 1 callers
Function
format
(pendingInterceptors: readonly MockAgent.PendingInterceptor[])
test/types/mock-agent.test-d.ts:93
↓ 1 callers
Method
format
(pendingInterceptors: readonly PendingInterceptor[])
types/mock-agent.d.ts:52
↓ 1 callers
Function
formdataEscape
(str)
lib/web/fetch/body.js:109
↓ 1 callers
Function
frame
(type, flags, streamId, payload = Buffer.alloc(0))
test/issue-5638.js:8
↓ 1 callers
Method
full
()
lib/interceptor/dns.js:133
↓ 1 callers
Function
generate
()
test/fetch/issue-4058.js:55
↓ 1 callers
Function
generateAndRunBundle
(url)
test/web-platform-tests/runner/test-runner.mjs:125
↓ 1 callers
Function
generateAsciiString
(length)
test/fetch/headerslist-sortedarray.js:9
↓ 1 callers
Function
generateAsciiString
(length)
test/node-test/tree.js:52
↓ 1 callers
Function
generateAsciiString
(length)
benchmarks/fetch/isomorphic-encode.mjs:8
↓ 1 callers
Function
generateAsciiString
(length)
benchmarks/fetch/headers.mjs:7
↓ 1 callers
Function
generateKeyValues
(data)
lib/mock/mock-utils.js:266
↓ 1 callers
Function
generateWPTReport
(results, startTime, endTime)
test/web-platform-tests/wpt-runner.mjs:536
↓ 1 callers
Function
get
(dispatcher, path, opts = {})
test/interceptors/origin-isolation.js:91
↓ 1 callers
Method
get
* @see https://fetch.spec.whatwg.org/#concept-header-list-get * @param {string} name * @param {boolean} isLowerCase * @returns {string | null
lib/web/fetch/headers.js:303
↓ 1 callers
Function
getAge
* @param {string | string[]} ageHeader * @returns {number | undefined}
lib/handler/cache-handler.js:603
↓ 1 callers
Method
getCopyOfBytesHeldByBufferSource
* @see https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy
types/webidl.d.ts:100
↓ 1 callers
Function
getDate
* @param {string | string[]} dateHeader * @returns {Date | null | undefined}
lib/handler/cache-handler.js:582
↓ 1 callers
Function
getDelta
(start, target)
test/timers.js:119
↓ 1 callers
Function
getErrorPort
(err)
test/node-test/balanced-pool.js:357
↓ 1 callers
Function
getFingerprint
(content, inputEncoding = 'base64', outputEncoding = 'hex')
test/node-test/ca-fingerprint.js:126
↓ 1 callers
Function
getFingerprint
(content, inputEncoding = 'base64', outputEncoding = 'hex')
docs/examples/ca-fingerprint/index.js:75
↓ 1 callers
Function
getGoAwayError
(session, errorCode)
lib/dispatcher/client-h2.js:89
↓ 1 callers
Function
getGoAwayPendingIdx
(client, lastStreamID)
lib/dispatcher/client-h2.js:119
↓ 1 callers
Function
getGreatestCommonDivisor
* Calculate the greatest common divisor of two numbers by * using the Euclidean algorithm. * * @param {number} a * @param {number} b * @returns {
lib/dispatcher/balanced-pool.js:36
↓ 1 callers
Method
getHandler
(meta, opts)
lib/interceptor/dns.js:382
↓ 1 callers
Function
getHostname
* @param {string} host * @returns {string}
lib/core/util.js:253
↓ 1 callers
Function
getIssuerCertificate
(socket)
test/node-test/ca-fingerprint.js:106
↓ 1 callers
Function
getIssuerCertificate
(socket)
docs/examples/ca-fingerprint/index.js:55
↓ 1 callers
Function
getMajorTagPrefix
(versionTag)
scripts/release.js:5
↓ 1 callers
Function
getMalformedRestrictiveDirectiveName
(key)
lib/util/cache.js:122
↓ 1 callers
Function
getManifest
()
test/web-platform-tests/wpt-runner.mjs:472
↓ 1 callers
Method
getMode
* Gets the current mode * @return {import('./snapshot-utils').SnapshotMode} - The current snapshot mode
lib/mock/snapshot-agent.js:305
↓ 1 callers
Function
getPipelining
(client)
lib/dispatcher/client.js:73
↓ 1 callers
Function
getPools
(agent)
test/socks5-proxy-agent.js:14
↓ 1 callers
Function
getProtocolFromUrlString
* @param {string} urlString * @returns {string}
lib/core/util.js:934
↓ 1 callers
Function
getProtocolFromUrlStringSlow
* @param {string} urlString * @returns {string}
lib/core/util.js:952
↓ 1 callers
Method
getReplyErrorMessage
* Get human-readable error message for reply code
lib/core/socks5-client.js:391
↓ 1 callers
Function
getSameOriginPath
(cacheKey, location)
lib/handler/cache-handler.js:61
↓ 1 callers
Function
getServerName
* IP addresses are not valid server names per RFC6066 * Currently, the only server names supported are DNS hostnames * @param {string|null} host *
lib/core/util.js:273
↓ 1 callers
Function
getSocketAddress
(socket)
lib/web/websocket/websocket.js:31
↓ 1 callers
Function
getUsableLastModified
(headers)
lib/interceptor/cache.js:177
↓ 1 callers
Function
getWithHost
(host, wanted)
test/client-request.js:695
↓ 1 callers
Function
getWritableError
(stream)
lib/api/api-stream.js:11
↓ 1 callers
Function
gettingDecodingSplitting
* @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split * @param {string|null} value
lib/web/fetch/util.js:1360
↓ 1 callers
Function
globalDispatcherExample
()
docs/examples/socks5-proxy.js:151
↓ 1 callers
Function
goawayFrame
(lastStreamId, errorCode)
test/http2-goaway-refusal-storm.js:40
↓ 1 callers
Method
handleAuth
(socket, buffer, callback)
test/fixtures/socks5-test-server.js:102
↓ 1 callers
Method
handleAuthResponse
* Handle authentication response
lib/core/socks5-client.js:249
↓ 1 callers
Method
handleBOM
()
lib/web/eventsource/eventsource-stream.js:487
↓ 1 callers
Method
handleConnect
(socket, buffer, callback)
test/fixtures/socks5-test-server.js:129
↓ 1 callers
Function
handleConnectError
(client, err, { host, hostname, protocol, port })
lib/dispatcher/client.js:596
↓ 1 callers
Method
handleConnectResponse
* Handle CONNECT response
lib/core/socks5-client.js:318
↓ 1 callers
Method
handleConnection
(socket)
test/fixtures/socks5-test-server.js:40
↓ 1 callers
Function
handleFetchDone
(response)
lib/web/fetch/index.js:155
↓ 1 callers
Function
handleFilterCallsWithOptions
(criteria, options, handler, store, allLogs)
lib/mock/mock-call-history.js:6
↓ 1 callers
Method
handleHandshake
(socket, buffer, callback)
test/fixtures/socks5-test-server.js:78
↓ 1 callers
Method
handleHandshakeResponse
* Handle handshake response from server
lib/core/socks5-client.js:182
↓ 1 callers
Function
handleReply
(mockDispatches, _response = response)
lib/mock/mock-utils.js:488
↓ 1 callers
Function
handleResult
* @param {DispatchFn} dispatch * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts * @param {import('../.
lib/interceptor/cache.js:410
↓ 1 callers
Function
handleUncachedResponse
* @param {DispatchFn} dispatch * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts * @param {import('../.
lib/interceptor/cache.js:264
← previous
next →
701–800 of 2,475, ranked by callers