MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,475 in github.com/nodejs/undici

↓ 1 callersFunctionbuildAndValidateMockOptions
(opts)
lib/mock/mock-utils.js:684
↓ 1 callersMethodbuildConnectRequest
* Build a SOCKS5 request
lib/core/socks5-client.js:294
↓ 1 callersFunctionbuildContentRange
* @see https://fetch.spec.whatwg.org/#build-a-content-range * @param {number} rangeStart * @param {number} rangeEnd * @param {number} fullLength
lib/web/fetch/util.js:1220
↓ 1 callersMethodbuildDispatch
(dispatcher, maxRedirections)
lib/handler/redirect-handler.js:13
↓ 1 callersFunctionbuildEventStream
(count)
benchmarks/eventsource/eventsource-stream.mjs:6
↓ 1 callersFunctionbuildH2CapableSSLProxy
()
test/proxy-agent.js:1695
↓ 1 callersFunctionbuildHeaders
* @param {string[] | Record<string, string>} headers * @returns {Record<string, string>}
lib/dispatcher/proxy-agent.js:331
↓ 1 callersFunctionbuildParams
(path)
test/client.js:2184
↓ 1 callersFunctionbuildProxy
()
test/env-http-proxy-agent.js:204
↓ 1 callersFunctionbuildProxy
(listener)
test/proxy-agent.js:1670
↓ 1 callersFunctionbuildProxy
()
test/proxy.js:186
↓ 1 callersFunctionbuildRequestHeaders
(reqHeaders)
lib/dispatcher/client-h2.js:829
↓ 1 callersFunctionbuildSSLProxy
()
test/proxy-agent.js:1679
↓ 1 callersFunctionbuildSSLServer
()
test/proxy-agent.js:1655
↓ 1 callersFunctionbuildServer
()
test/env-http-proxy-agent.js:197
↓ 1 callersFunctionbuildServer
()
test/proxy-agent.js:1648
↓ 1 callersFunctionbuildServer
()
test/proxy.js:179
↓ 1 callersFunctionbuildTestEnvironments
* @param {number} idx * @param {TestEnvironment[][]} testOptions * @returns {TestEnvironment[]}
test/cache-interceptor/cache-tests.mjs:264
↓ 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:510
↓ 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:662
↓ 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:58
↓ 1 callersFunctionclampAndCoarsenConnectionTimingInfo
(connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability)
lib/web/fetch/util.js:322
↓ 1 callersFunctioncleanRequestHeaders
(headers, removeContent, unknownOrigin, stripHeaders, stripHeadersOnCrossOrigin)
lib/handler/redirect-handler.js:216
↓ 1 callersFunctioncleanup
()
benchmarks/benchmark.js:119
↓ 1 callersMethodclearEvent
()
lib/web/eventsource/eventsource-stream.js:369
↓ 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:375
↓ 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:365
↓ 1 callersFunctioncloseResources
(dispatchers, origins)
test/interceptors/origin-isolation.js:103
↓ 1 callersFunctioncloseStream
(stream, code = NGHTTP2_REFUSED_STREAM)
lib/dispatcher/client-h2.js:208
↓ 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:393
↓ 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:67
↓ 1 callersFunctioncreateConnectTimeoutError
(hostname, port, timeout)
lib/dispatcher/socks5-proxy-agent.js:29
↓ 1 callersFunctioncreateDecompressInterceptor
* Creates a decompression interceptor for HTTP responses * @param {DecompressHandlerOptions} [options] - Options for the interceptor * @returns {Fun
lib/interceptor/decompress.js:372
↓ 1 callersFunctioncreateDefaultHandler
()
test/snapshot-testing.js:70
↓ 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:1288
↓ 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:740
↓ 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 callersFunctioncreateMaxEventSizeExceededError
()
lib/web/eventsource/eventsource-stream.js:72
↓ 1 callersFunctioncreateMaxSizeLimiter
* Limits the output of one stage in a decompression chain. * @param {number} maxSize - Maximum output size in bytes * @returns {Transform}
lib/interceptor/decompress.js:31
↓ 1 callersFunctioncreateOrigin
test/interceptors/origin-isolation.js:62
↓ 1 callersFunctioncreateOrigins
()
test/interceptors/origin-isolation.js:51
↓ 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:107
↓ 1 callersFunctioncreateStalledSocks5Proxy
({ stallOnConnect = false } = {})
test/socks5-proxy-agent.js:19
↓ 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:389
↓ 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:24
↓ 1 callersFunctiondeleteCachedValue
(store, cacheKey)
lib/interceptor/cache.js:169
↓ 1 callersFunctiondeleteCachedValueIfNotModified
(statusCode, store, cacheKey)
lib/handler/cache-handler.js:479
↓ 1 callersFunctiondeleteLocationTargets
(store, cacheKey, headerValue)
lib/handler/cache-handler.js:102
↓ 1 callersMethoddeleteRecords
(origin)
lib/interceptor/dns.js:378
↓ 1 callersMethoddestroy
(err, callback)
lib/dispatcher/dispatcher-base.js:114
↓ 1 callersMethoddestroy
* @param {Error} [err] * @returns {void}
lib/dispatcher/client-h1.js:1789
↓ 1 callersMethoddestroy
()
test/http2-invalid-session.js:31
↓ 1 callersMethoddestroy
()
test/socks5-client.js:90
← previousnext →601–700 of 2,475, ranked by callers