MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,475 in github.com/nodejs/undici

↓ 1 callersFunctiondetectRuntimeFeature
* @param {Feature} feature * @returns {boolean}
lib/util/runtime-features.js:36
↓ 1 callersFunctiondetectRuntimeFeatureByNodeModule
* @param {NodeModuleName} moduleName * @returns {boolean}
lib/util/runtime-features.js:16
↓ 1 callersFunctiondetermineDeleteAt
* @param {number} baseTime * @param {number} cachedAt * @param {import('../../types/cache-interceptor.d.ts').default.CacheControlDirectives} cacheCo
lib/handler/cache-handler.js:736
↓ 1 callersFunctiondetermineRequestsReferrer
* Determine request’s Referrer * * @see https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer
lib/web/fetch/util.js:386
↓ 1 callersFunctiondetermineStaleAt
* @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 callersMethoddiscardLeadingBytes
(count)
lib/web/eventsource/eventsource-stream.js:467
↓ 1 callersMethoddisconnect
(origin: URL, targets: readonly Dispatcher[], error: Errors.UndiciError)
test/types/dispatcher.events.test-d.ts:8
↓ 1 callersFunctiondiscoverTestsToRun
(filter, expectation)
test/web-platform-tests/wpt-runner.mjs:480
↓ 1 callersMethoddispatch
(options, handler)
test/mock-agent.js:3464
↓ 1 callersMethoddispatch
(options, handler)
test/fetch/issue-2898-comment.js:10
↓ 1 callersFunctiondispatchAndTrack
(dispatcher)
test/interceptors/body-sent-hooks.js:14
↓ 1 callersFunctiondispatchAsyncIterableBody
(body, handler, controller, isAborted)
lib/mock/mock-utils.js:576
↓ 1 callersFunctiondispatchMockReply
* Replies to a request once the mock dispatch data is fully resolved
lib/mock/mock-utils.js:358
↓ 1 callersFunctiondispatchRequestBody
(body, handler, controller, isAborted)
lib/mock/mock-utils.js:536
↓ 1 callersFunctiondoNotKillReqSocket
(bodyType)
test/http-req-destroy.js:10
↓ 1 callersFunctiondrainingServer
()
test/http2-max-concurrent-streams-zero.js:42
↓ 1 callersFunctionemitDrain
(client)
lib/dispatcher/client.js:638
↓ 1 callersFunctionemitH2OptionsNamespaceWarning
(optName)
lib/dispatcher/client.js:78
↓ 1 callersMethoderror
()
lib/web/websocket/events.js:179
↓ 1 callersFunctionerrorAndChunkedEncodingPipelining
(type)
test/node-test/client-errors.js:238
↓ 1 callersFunctionerrorAndPipelining
(type)
test/node-test/client-errors.js:181
↓ 1 callersFunctionerrorHandlingExample
()
docs/examples/socks5-proxy.js:134
↓ 1 callersFunctionerrorWithDefaultMessage
()
test/errors.js:37
↓ 1 callersFunctionerrorWithProvidedMessage
()
test/errors.js:38
↓ 1 callersFunctionerrordInflightPost
(bodyType)
test/client-pipelining.js:345
↓ 1 callersFunctionexampleCode
()
test/imports/undici-import.ts:4
↓ 1 callersFunctionextractLines
(chunks)
test/node-test/debug.js:169
↓ 1 callersFunctionf
()
test/types/mock-errors.test-d.ts:12
↓ 1 callersFunctionf
()
test/types/errors.test-d.ts:125
↓ 1 callersFunctionfactory
(origin, options)
test/node-test/balanced-pool.js:749
↓ 1 callersFunctionfetchWithSocks5Example
()
docs/examples/socks5-proxy.js:57
↓ 1 callersFunctionfilterEnvironments
* @param {TestEnvironment[]} environments * @returns {TestEnvironment[]}
test/cache-interceptor/cache-tests.mjs:344
↓ 1 callersFunctionfinalMemoryCheck
()
test/tls-cert-leak.js:184
↓ 1 callersFunctionfinalizeAndReportTiming
(response, initiatorType = 'other')
lib/web/fetch/index.js:304
↓ 1 callersFunctionfinalizeResponse
(fetchParams, response)
lib/web/fetch/index.js:1011
↓ 1 callersFunctionfindUnescapedQuote
(value, start)
lib/util/cache.js:39
↓ 1 callersMethodflatMap
(callbackfn: (value: T, index: number) => Iterator<U> | Iterable<U>)
types/fetch.d.ts:74
↓ 1 callersFunctionflushMeasuredStreams
()
test/issue-5390.js:28
↓ 1 callersFunctionforgivingBase64
* @param {string} data * @returns {Uint8Array | 'failure'} * * @see https://infra.spec.whatwg.org/#forgiving-base64-decode
lib/web/infra/index.js:62
↓ 1 callersFunctionformat
(pendingInterceptors: readonly MockAgent.PendingInterceptor[])
test/types/mock-agent.test-d.ts:93
↓ 1 callersMethodformat
(pendingInterceptors: readonly PendingInterceptor[])
types/mock-agent.d.ts:52
↓ 1 callersFunctionformdataEscape
(str)
lib/web/fetch/body.js:109
↓ 1 callersFunctionframe
(type, flags, streamId, payload = Buffer.alloc(0))
test/issue-5638.js:8
↓ 1 callersMethodfull
()
lib/interceptor/dns.js:133
↓ 1 callersFunctiongenerate
()
test/fetch/issue-4058.js:55
↓ 1 callersFunctiongenerateAndRunBundle
(url)
test/web-platform-tests/runner/test-runner.mjs:125
↓ 1 callersFunctiongenerateAsciiString
(length)
test/fetch/headerslist-sortedarray.js:9
↓ 1 callersFunctiongenerateAsciiString
(length)
test/node-test/tree.js:52
↓ 1 callersFunctiongenerateAsciiString
(length)
benchmarks/fetch/isomorphic-encode.mjs:8
↓ 1 callersFunctiongenerateAsciiString
(length)
benchmarks/fetch/headers.mjs:7
↓ 1 callersFunctiongenerateKeyValues
(data)
lib/mock/mock-utils.js:266
↓ 1 callersFunctiongenerateWPTReport
(results, startTime, endTime)
test/web-platform-tests/wpt-runner.mjs:536
↓ 1 callersFunctionget
(dispatcher, path, opts = {})
test/interceptors/origin-isolation.js:91
↓ 1 callersMethodget
* @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 callersFunctiongetAge
* @param {string | string[]} ageHeader * @returns {number | undefined}
lib/handler/cache-handler.js:603
↓ 1 callersMethodgetCopyOfBytesHeldByBufferSource
* @see https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy
types/webidl.d.ts:100
↓ 1 callersFunctiongetDate
* @param {string | string[]} dateHeader * @returns {Date | null | undefined}
lib/handler/cache-handler.js:582
↓ 1 callersFunctiongetDelta
(start, target)
test/timers.js:119
↓ 1 callersFunctiongetErrorPort
(err)
test/node-test/balanced-pool.js:357
↓ 1 callersFunctiongetFingerprint
(content, inputEncoding = 'base64', outputEncoding = 'hex')
test/node-test/ca-fingerprint.js:126
↓ 1 callersFunctiongetFingerprint
(content, inputEncoding = 'base64', outputEncoding = 'hex')
docs/examples/ca-fingerprint/index.js:75
↓ 1 callersFunctiongetGoAwayError
(session, errorCode)
lib/dispatcher/client-h2.js:89
↓ 1 callersFunctiongetGoAwayPendingIdx
(client, lastStreamID)
lib/dispatcher/client-h2.js:119
↓ 1 callersFunctiongetGreatestCommonDivisor
* 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 callersMethodgetHandler
(meta, opts)
lib/interceptor/dns.js:382
↓ 1 callersFunctiongetHostname
* @param {string} host * @returns {string}
lib/core/util.js:253
↓ 1 callersFunctiongetIssuerCertificate
(socket)
test/node-test/ca-fingerprint.js:106
↓ 1 callersFunctiongetIssuerCertificate
(socket)
docs/examples/ca-fingerprint/index.js:55
↓ 1 callersFunctiongetMajorTagPrefix
(versionTag)
scripts/release.js:5
↓ 1 callersFunctiongetMalformedRestrictiveDirectiveName
(key)
lib/util/cache.js:122
↓ 1 callersFunctiongetManifest
()
test/web-platform-tests/wpt-runner.mjs:472
↓ 1 callersMethodgetMode
* Gets the current mode * @return {import('./snapshot-utils').SnapshotMode} - The current snapshot mode
lib/mock/snapshot-agent.js:305
↓ 1 callersFunctiongetPipelining
(client)
lib/dispatcher/client.js:73
↓ 1 callersFunctiongetPools
(agent)
test/socks5-proxy-agent.js:14
↓ 1 callersFunctiongetProtocolFromUrlString
* @param {string} urlString * @returns {string}
lib/core/util.js:934
↓ 1 callersFunctiongetProtocolFromUrlStringSlow
* @param {string} urlString * @returns {string}
lib/core/util.js:952
↓ 1 callersMethodgetReplyErrorMessage
* Get human-readable error message for reply code
lib/core/socks5-client.js:391
↓ 1 callersFunctiongetSameOriginPath
(cacheKey, location)
lib/handler/cache-handler.js:61
↓ 1 callersFunctiongetServerName
* 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 callersFunctiongetSocketAddress
(socket)
lib/web/websocket/websocket.js:31
↓ 1 callersFunctiongetUsableLastModified
(headers)
lib/interceptor/cache.js:177
↓ 1 callersFunctiongetWithHost
(host, wanted)
test/client-request.js:695
↓ 1 callersFunctiongetWritableError
(stream)
lib/api/api-stream.js:11
↓ 1 callersFunctiongettingDecodingSplitting
* @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split * @param {string|null} value
lib/web/fetch/util.js:1360
↓ 1 callersFunctionglobalDispatcherExample
()
docs/examples/socks5-proxy.js:151
↓ 1 callersFunctiongoawayFrame
(lastStreamId, errorCode)
test/http2-goaway-refusal-storm.js:40
↓ 1 callersMethodhandleAuth
(socket, buffer, callback)
test/fixtures/socks5-test-server.js:102
↓ 1 callersMethodhandleAuthResponse
* Handle authentication response
lib/core/socks5-client.js:249
↓ 1 callersMethodhandleBOM
()
lib/web/eventsource/eventsource-stream.js:487
↓ 1 callersMethodhandleConnect
(socket, buffer, callback)
test/fixtures/socks5-test-server.js:129
↓ 1 callersFunctionhandleConnectError
(client, err, { host, hostname, protocol, port })
lib/dispatcher/client.js:596
↓ 1 callersMethodhandleConnectResponse
* Handle CONNECT response
lib/core/socks5-client.js:318
↓ 1 callersMethodhandleConnection
(socket)
test/fixtures/socks5-test-server.js:40
↓ 1 callersFunctionhandleFetchDone
(response)
lib/web/fetch/index.js:155
↓ 1 callersFunctionhandleFilterCallsWithOptions
(criteria, options, handler, store, allLogs)
lib/mock/mock-call-history.js:6
↓ 1 callersMethodhandleHandshake
(socket, buffer, callback)
test/fixtures/socks5-test-server.js:78
↓ 1 callersMethodhandleHandshakeResponse
* Handle handshake response from server
lib/core/socks5-client.js:182
↓ 1 callersFunctionhandleReply
(mockDispatches, _response = response)
lib/mock/mock-utils.js:488
↓ 1 callersFunctionhandleResult
* @param {DispatchFn} dispatch * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts * @param {import('../.
lib/interceptor/cache.js:410
↓ 1 callersFunctionhandleUncachedResponse
* @param {DispatchFn} dispatch * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts * @param {import('../.
lib/interceptor/cache.js:264
← previousnext →701–800 of 2,475, ranked by callers