Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/undici
/ functions
Functions
2,421 in github.com/nodejs/undici
⨍
Functions
2,421
◇
Types & classes
604
↓ 1 callers
Function
emitDrain
(client)
lib/dispatcher/client.js:637
↓ 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
fetchWithSocks5Example
()
docs/examples/socks5-proxy.js:57
↓ 1 callers
Function
filterEnvironments
* @param {TestEnvironment[]} environments * @returns {TestEnvironment[]}
test/cache-interceptor/cache-tests.mjs:328
↓ 1 callers
Function
finalMemoryCheck
()
test/tls-cert-leak.js:184
↓ 1 callers
Function
finalizeAndReportTiming
(response, initiatorType = 'other')
lib/web/fetch/index.js:303
↓ 1 callers
Function
finalizeResponse
(fetchParams, response)
lib/web/fetch/index.js:1010
↓ 1 callers
Function
findUnescapedQuote
(value, start)
lib/util/cache.js:38
↓ 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
Method
format
(pendingInterceptors: readonly PendingInterceptor[])
types/mock-agent.d.ts:50
↓ 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:132
↓ 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
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:579
↓ 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:558
↓ 1 callers
Function
getDelta
(start, target)
test/timers.js:119
↓ 1 callers
Function
getErrorPort
(err)
test/node-test/balanced-pool.js:354
↓ 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:87
↓ 1 callers
Function
getGoAwayPendingIdx
(client, lastStreamID)
lib/dispatcher/client-h2.js:117
↓ 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:381
↓ 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:121
↓ 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:146
↓ 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:1355
↓ 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:460
↓ 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:595
↓ 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:154
↓ 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:487
↓ 1 callers
Function
handleResult
* @param {DispatchFn} dispatch * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts * @param {import('../.
lib/interceptor/cache.js:379
↓ 1 callers
Function
handleUncachedResponse
* @param {DispatchFn} dispatch * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts * @param {import('../.
lib/interceptor/cache.js:233
↓ 1 callers
Function
handler
(_req, res)
test/node-test/agent.js:54
↓ 1 callers
Function
hasAuthenticationEntry
(request)
lib/web/fetch/util.js:1435
↓ 1 callers
Function
hasHostHeader
(headers)
lib/interceptor/dns.js:56
↓ 1 callers
Function
hasIPv6LocalhostSync
()
test/interceptors/dns.js:20
↓ 1 callers
Function
hasInvalidCacheControlDirective
(directives, key)
lib/util/cache.js:117
↓ 1 callers
Method
hasPendingEvent
()
lib/web/eventsource/eventsource-stream.js:350
↓ 1 callers
Function
hasPragmaNoCache
(headers)
lib/interceptor/cache.js:46
↓ 1 callers
Function
hasSafeIterator
(headers)
lib/interceptor/dns.js:8
↓ 1 callers
Function
headerNameToString
* Retrieves a header name and returns its lowercase value. * @param {string | Buffer} value Header name * @returns {string}
lib/core/util.js:405
↓ 1 callers
Function
headerValueEquals
* @param {string|string[]|null|undefined} lhs * @param {string|string[]|null|undefined} rhs * @returns {boolean}
lib/cache/memory-cache-store.js:252
↓ 1 callers
Function
headerValueEquals
* @param {string|string[]|null|undefined} lhs * @param {string|string[]|null|undefined} rhs * @returns {boolean}
lib/cache/sqlite-cache-store.js:444
↓ 1 callers
Method
headers
()
lib/web/fetch/request.js:620
↓ 1 callers
Function
hexByteToNumber
* @param {number} byte
lib/web/fetch/data-url.js:161
↓ 1 callers
Function
holdEventLoop
()
test/http2-max-concurrent-streams-zero.js:37
↓ 1 callers
Function
httpNetworkFetch
( fetchParams, includeCredentials = false, forceNewConnection = false )
lib/web/fetch/index.js:1820
↓ 1 callers
Function
httpNetworkOrCacheFetch
( fetchParams, isAuthenticationFetch = false, isNewConnectionFetch = false )
lib/web/fetch/index.js:1396
↓ 1 callers
Function
httpRedirectFetch
(fetchParams, response)
lib/web/fetch/index.js:1252
↓ 1 callers
Function
httpsWithSocks5Example
()
docs/examples/socks5-proxy.js:78
↓ 1 callers
Function
init
()
benchmarks/websocket-benchmark.mjs:146
← previous
next →
701–800 of 2,421, ranked by callers