MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,421 in github.com/nodejs/undici

↓ 1 callersFunctionbuildProxy
()
test/proxy.js:186
↓ 1 callersFunctionbuildRequestHeaders
(reqHeaders)
lib/dispatcher/client-h2.js:827
↓ 1 callersFunctionbuildSSLProxy
()
test/proxy-agent.js:1656
↓ 1 callersFunctionbuildSSLServer
()
test/proxy-agent.js:1632
↓ 1 callersFunctionbuildServer
()
test/env-http-proxy-agent.js:197
↓ 1 callersFunctionbuildServer
()
test/proxy-agent.js:1625
↓ 1 callersFunctionbuildServer
()
test/proxy.js:179
↓ 1 callersFunctionbuildTestEnvironments
* @param {number} idx * @param {TestEnvironment[][]} testOptions * @returns {TestEnvironment[]}
test/cache-interceptor/cache-tests.mjs:248
↓ 1 callersFunctioncalculateRetryAfterHeader
(retryAfter)
lib/handler/retry-handler.js:12
↓ 1 callersFunctioncanCacheResponse
* @see https://www.rfc-editor.org/rfc/rfc9111.html#name-storing-responses-to-authen * * @param {import('../../types/cache-interceptor.d.ts').default
lib/handler/cache-handler.js:492
↓ 1 callersFunctioncanConnect
* @param {string} host * @param {number} port * @param {string} protocol * @returns {Promise<boolean>}
test/cache-interceptor/cache-tests-worker.mjs:119
↓ 1 callersFunctioncharCodeAtApproach
* @param {string} characters
benchmarks/core/is-valid-header-char.mjs:12
↓ 1 callersFunctioncheckError
(err)
test/node-test/client-errors.js:847
↓ 1 callersFunctioncheckMemoryTrend
()
test/tls-cert-leak.js:149
↓ 1 callersFunctioncheckNetConnect
(netConnect, origin)
lib/mock/mock-utils.js:661
↓ 1 callersFunctionchunksConcat
* @param {Buffer[]} chunks * @param {number} length * @returns {Uint8Array}
lib/api/readable.js:519
↓ 1 callersFunctionchunksDecode
* @param {Buffer[]} chunks * @param {number} length * @param {BufferEncoding} [encoding='utf8'] * @returns {string}
lib/api/readable.js:492
↓ 1 callersFunctionchurningServer
(rnd)
test/http2-request-never-settles.js:54
↓ 1 callersFunctionclampAndCoarsenConnectionTimingInfo
(connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability)
lib/web/fetch/util.js:317
↓ 1 callersFunctioncleanRequestHeaders
(headers, removeContent, unknownOrigin, stripHeaders, stripHeadersOnCrossOrigin)
lib/handler/redirect-handler.js:199
↓ 1 callersFunctioncleanup
()
benchmarks/benchmark.js:119
↓ 1 callersMethodclearEvent
()
lib/web/eventsource/eventsource-stream.js:343
↓ 1 callersMethodclearSnapshots
* Clears all snapshots * @returns {void}
lib/mock/snapshot-agent.js:313
↓ 1 callersFunctionclientFactory
(_origin, options)
test/proxy-agent.js:135
↓ 1 callersFunctionclonePolicyContainer
(policyContainer)
lib/web/fetch/util.js:370
↓ 1 callersFunctionclose
()
test/parser-issues.js:29
↓ 1 callersFunctionclose
(server)
test/utils/redirecting-servers.js:6
↓ 1 callersFunctionclose
(server)
test/interceptors/interceptors-on-client.js:16
↓ 1 callersMethodclose
* Closes the agent, saving snapshots and cleaning up resources. * * @returns {Promise<void>}
lib/mock/snapshot-agent.js:356
↓ 1 callersMethodclose
* Closes the connection, if any, and sets the readyState attribute to * CLOSED.
lib/web/eventsource/eventsource.js:356
↓ 1 callersFunctioncloseStream
(stream, code = NGHTTP2_REFUSED_STREAM)
lib/dispatcher/client-h2.js:206
↓ 1 callersFunctioncloseWebSocket
(ws)
test/websocket/send.js:8
↓ 1 callersFunctioncloseWebSocketServer
(server)
test/websocket/send.js:18
↓ 1 callersFunctioncodeUnitStr
(char)
test/web-platform-tests/runner/utils.mjs:15
↓ 1 callersFunctioncomputeUrlWithMaybeSearchParameters
(requestInit)
lib/mock/mock-call-history.js:53
↓ 1 callersFunctionconnect
(opts: buildConnector.Options, cb: buildConnector.Callback)
test/types/connector.test-d.ts:8
↓ 1 callersMethodconnect
* Send CONNECT command * @param {string} address - Target address (IP or domain) * @param {number} port - Target port
lib/core/socks5-client.js:275
↓ 1 callersFunctionconnectOnce
({ hostname, port })
test/tls-session-reuse.js:225
↓ 1 callersFunctionconnectionPoolingExample
()
docs/examples/socks5-proxy.js:99
↓ 1 callersMethodconsume
* Take n bytes from the buffered Buffers * @param {number} n * @returns {Buffer}
lib/web/websocket/receiver.js:312
↓ 1 callersMethodconsumeCurrentByte
()
lib/web/eventsource/eventsource-stream.js:366
↓ 1 callersFunctionconsumeEnd
* @param {Consume} consume * @param {BufferEncoding} encoding * @returns {void}
lib/api/readable.js:544
↓ 1 callersMethodconsumeFragments
()
lib/web/websocket/receiver.js:369
↓ 1 callersFunctionconsumeStart
* @param {Consume} consume * @returns {void}
lib/api/readable.js:437
↓ 1 callersFunctioncorsCheck
()
lib/web/fetch/util.js:219
↓ 1 callersFunctioncreateCert
(cn, issuer, keyLength = 2048)
test/proxy-agent.js:19
↓ 1 callersFunctioncreateCert
(cn, issuer, keyLength = 2048)
test/socks5-proxy-agent.js:21
↓ 1 callersFunctioncreateDecompressInterceptor
* Creates a decompression interceptor for HTTP responses * @param {DecompressHandlerOptions} [options] - Options for the interceptor * @returns {Fun
lib/interceptor/decompress.js:270
↓ 1 callersFunctioncreateDefaultHandler
()
test/snapshot-testing.js:70
↓ 1 callersFunctioncreateDispatcher
(t, onStream)
test/http2-refused-stream.js:10
↓ 1 callersFunctioncreateDnsServer
(ipv6Addr, ipv4Addr, cb)
test/node-test/autoselectfamily.js:38
↓ 1 callersFunctioncreateEchoHandler
()
test/snapshot-testing.js:85
↓ 1 callersFunctioncreateEnvHttpProxyAgentWithMocks
(plan = 1, opts = {})
test/env-http-proxy-agent.js:211
↓ 1 callersMethodcreateFastTextFrame
* @param {Uint8Array} buffer
lib/web/websocket/frame.js:84
↓ 1 callersFunctioncreateFrame
(data, hint)
lib/web/websocket/sender.js:94
↓ 1 callersFunctioncreateInflate
* @param {zlib.ZlibOptions} [zlibOptions] * @returns {InflateStream}
lib/web/fetch/util.js:1283
↓ 1 callersFunctioncreateInheritableDOMException
()
lib/web/websocket/stream/websocketerror.js:8
↓ 1 callersFunctioncreateIterator
* @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object * @param {string} name name of the instance * @param {((target: any) => any)} k
lib/web/fetch/util.js:735
↓ 1 callersFunctioncreateLargeSnapshotFile
(path, size = 1000)
test/snapshot-testing.js:108
↓ 1 callersFunctioncreateMaliciousServer
* Creates a minimal WebSocket server that responds with a custom * server_max_window_bits value and sends a compressed frame.
test/websocket/permessage-deflate-windowbits.js:15
↓ 1 callersFunctioncreatePotentialCORSRequest
(url, destination, corsAttributeState, sameOriginFallback)
lib/web/eventsource/util.js:28
↓ 1 callersFunctioncreatePrematureCloseError
()
lib/api/api-stream.js:15
↓ 1 callersFunctioncreateRawServer
(response)
test/prototype-headers.js:9
↓ 1 callersFunctioncreateReplyError
* Create error for SOCKS5 reply code * @param {number} replyCode - SOCKS5 reply code * @returns {Error} Appropriate error object
lib/core/socks5-utils.js:188
↓ 1 callersFunctioncreateScenario
(ErrorClass, defaultMessage, name, code)
test/errors.js:8
↓ 1 callersFunctioncreateSequentialHandler
(responses)
test/snapshot-testing.js:100
↓ 1 callersFunctioncreateSnapshotPath
(prefix = 'test-snapshots')
test/snapshot-testing.js:33
↓ 1 callersMethodcreateSocks5Connection
* Create a SOCKS5 connection to the proxy
lib/dispatcher/socks5-proxy-agent.js:78
↓ 1 callersFunctioncreateTestServer
(handler)
test/snapshot-testing.js:37
↓ 1 callersFunctioncreateTrackedServer
(onConnection)
test/parser-issues.js:17
↓ 1 callersFunctioncreateWebSocketServer
()
docs/examples/proxy/websocket.js:13
↓ 1 callersFunctioncrossOriginResourcePolicyCheck
()
lib/web/fetch/util.js:213
↓ 1 callersMethodcurrentByte
()
lib/web/eventsource/eventsource-stream.js:362
↓ 1 callersFunctioncurrentChunkLength
(chunk)
benchmarks/core/body-chunk-byte-length.mjs:11
↓ 1 callersFunctiondataURLProcessor
@param {URL} dataURL
lib/web/fetch/data-url.js:21
↓ 1 callersFunctiondefaultProtocolPort
(protocol)
lib/dispatcher/proxy-agent.js:23
↓ 1 callersFunctiondeleteCachedValue
(store, cacheKey)
lib/interceptor/cache.js:138
↓ 1 callersFunctiondeleteCachedValueIfNotModified
(statusCode, store, cacheKey)
lib/handler/cache-handler.js:465
↓ 1 callersFunctiondeleteLocationTargets
(store, cacheKey, headerValue)
lib/handler/cache-handler.js:102
↓ 1 callersMethoddeleteRecords
(origin)
lib/interceptor/dns.js:377
↓ 1 callersMethoddestroy
(err, callback)
lib/dispatcher/dispatcher-base.js:102
↓ 1 callersMethoddestroy
* @param {Error} [err] * @returns {void}
lib/dispatcher/client-h1.js:1781
↓ 1 callersMethoddestroy
()
test/http2-invalid-session.js:31
↓ 1 callersMethoddestroy
()
test/socks5-client.js:90
↓ 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:712
↓ 1 callersFunctiondetermineRequestsReferrer
* Determine request’s Referrer * * @see https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer
lib/web/fetch/util.js:381
↓ 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:613
↓ 1 callersMethoddiscardLeadingBytes
(count)
lib/web/eventsource/eventsource-stream.js:440
↓ 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 callersFunctiondispatch
(_opts, handler)
test/interceptors/deduplicate.js:1174
↓ 1 callersMethoddispatch
(options, handler)
test/mock-agent.js:3464
↓ 1 callersMethoddispatch
(options, handler)
test/fetch/issue-2898-comment.js:10
↓ 1 callersFunctiondispatchAsyncIterableBody
(body, handler, controller, isAborted)
lib/mock/mock-utils.js:575
↓ 1 callersFunctiondispatchMockReply
* Replies to a request once the mock dispatch data is fully resolved
lib/mock/mock-utils.js:359
↓ 1 callersFunctiondispatchRequestBody
(body, handler, controller, isAborted)
lib/mock/mock-utils.js:535
↓ 1 callersFunctiondoNotKillReqSocket
(bodyType)
test/http-req-destroy.js:10
↓ 1 callersFunctiondrainingServer
()
test/http2-max-concurrent-streams-zero.js:42
← previousnext →601–700 of 2,421, ranked by callers