MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,421 in github.com/nodejs/undici

↓ 2 callersFunctionvalidateCloseCodeAndReason
(code, reason)
lib/web/websocket/util.js:288
↓ 2 callersFunctionvalidateCookiePath
* path-value = <any CHAR except CTLs or ";"> * @param {string} path
lib/web/cookies/util.js:102
↓ 2 callersMethodvalidateReplyParameters
(replyParameters)
lib/mock/mock-interceptor.js:109
↓ 2 callersFunctionwithHostHeader
(host, headers)
lib/interceptor/dns.js:86
↓ 2 callersFunctionwriteBody
* @param {import('node:stream').Writable} stream * @param {Buffer[]} body
test/cache-interceptor/cache-store-test-utils.js:396
↓ 1 callersMethod#abort
(reason)
lib/interceptor/dump.js:25
↓ 1 callersMethod#asyncDispatch
* Async version of dispatch for when we need to load snapshots first
lib/mock/snapshot-agent.js:126
↓ 1 callersMethod#bufferWaitingChunk
* @param {WaitingHandler} waitingHandler * @param {Buffer} chunk
lib/handler/deduplication-handler.js:384
↓ 1 callersMethod#cancel
(reason)
lib/web/websocket/stream/websocketstream.js:447
↓ 1 callersMethod#createDecompressionChain
* Creates a chain of decompressors for multiple content encodings * * @param {string} encodings - Comma-separated list of content encodings *
lib/interceptor/decompress.js:68
↓ 1 callersMethod#createWaitingHandler
* @param {DispatchHandler} handler * @returns {WaitingHandler}
lib/handler/deduplication-handler.js:314
↓ 1 callersMethod#detectRuntimeFeature
* @param {Feature} feature * @returns {boolean}
lib/util/runtime-features.js:83
↓ 1 callersMethod#getProxyAgentForUrl
(url)
lib/dispatcher/env-http-proxy-agent.js:65
↓ 1 callersMethod#getUrl
* @param {import('../../types/proxy-agent').ProxyAgent.Options | string | URL} opts * @returns {URL}
lib/dispatcher/proxy-agent.js:298
↓ 1 callersMethod#onConnectionEstablished
* @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol
lib/web/websocket/websocket.js:484
↓ 1 callersMethod#onConnectionEstablished
@type {import('../websocket').Handler['onConnectionEstablished']}
lib/web/websocket/stream/websocketstream.js:258
↓ 1 callersMethod#onMessage
(type, data)
lib/web/websocket/websocket.js:548
↓ 1 callersMethod#onMessage
@type {import('../websocket').Handler['onMessage']}
lib/web/websocket/stream/websocketstream.js:324
↓ 1 callersMethod#onParserDrain
()
lib/web/websocket/websocket.js:589
↓ 1 callersMethod#onSocketClose
* @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol * @see https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.4
lib/web/websocket/websocket.js:597
↓ 1 callersMethod#onSocketClose
@type {import('../websocket').Handler['onSocketClose']}
lib/web/websocket/stream/websocketstream.js:356
↓ 1 callersMethod#prune
()
lib/cache/sqlite-cache-store.js:354
↓ 1 callersMethod#recordAndReplay
* Records a real request and replays the response
lib/mock/snapshot-agent.js:134
↓ 1 callersMethod#replaySnapshot
* Replays a recorded response * * @param {Object} snapshot - The recorded snapshot to replay. * @param {Object} handler - The handler to call
lib/mock/snapshot-agent.js:196
↓ 1 callersMethod#requestMatchesCachedItem
* @see https://w3c.github.io/ServiceWorker/#request-matches-cached-item-algorithm * @param {any} requestQuery * @param {any} request * @param
lib/web/cache/cache.js:699
↓ 1 callersMethod#run
()
lib/web/websocket/sender.js:76
↓ 1 callersMethod#setupMockInterceptors
* Sets up MockAgent interceptors based on recorded snapshots. * * This method creates MockAgent interceptors for each recorded snapshot, * al
lib/mock/snapshot-agent.js:270
↓ 1 callersMethod#setupMultipleDecompressors
* Sets up event handling for multiple chained decompressors using pipeline * @param {Controller} controller - The controller to handle events *
lib/interceptor/decompress.js:137
↓ 1 callersMethod#setupSingleDecompressor
* Sets up event handling for a single decompressor * @param {Controller} controller - The controller to handle events * @returns {void}
lib/interceptor/decompress.js:123
↓ 1 callersMethod#shouldProxy
(hostname, port)
lib/dispatcher/env-http-proxy-agent.js:82
↓ 1 callersMethod#shouldSkipDecompression
* Determines if decompression should be skipped based on encoding and status code * @param {string} contentEncoding - Content-Encoding header value
lib/interceptor/decompress.js:54
↓ 1 callersMethod#startAutoFlush
* Starts the auto-flush timer * @returns {void}
lib/mock/snapshot-recorder.js:561
↓ 1 callersMethod#stopAutoFlush
* Stops the auto-flush timer * @returns {void}
lib/mock/snapshot-recorder.js:569
↓ 1 callersMethod#validatePayloadLength
()
lib/web/websocket/receiver.js:78
↓ 1 callersMethod#write
(chunk)
lib/web/websocket/stream/websocketstream.js:200
↓ 1 callersMethodAllowSharedBufferSource
* @see https://webidl.spec.whatwg.org/#AllowSharedBufferSource
types/webidl.d.ts:213
↓ 1 callersMethodConvertToInt
* @see https://webidl.spec.whatwg.org/#abstract-opdef-converttoint
types/webidl.d.ts:69
↓ 1 callersMethodDataView
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
types/webidl.d.ts:183
↓ 1 callersMethodHasFlag
(flag: number, attributes: number)
types/webidl.d.ts:95
↓ 1 callersMethodIntegerPart
* @see https://webidl.spec.whatwg.org/#abstract-opdef-integerpart
types/webidl.d.ts:79
↓ 1 callersMethodIsResizableArrayBuffer
(V: ArrayBufferLike)
types/webidl.d.ts:93
↓ 1 callersMethodRequestInit
* @see https://fetch.spec.whatwg.org/#requestinit
types/webidl.d.ts:234
↓ 1 callersFunctionTAOCheck
()
lib/web/fetch/util.js:225
↓ 1 callersMethodTypeValueToString
(o: unknown)
types/webidl.d.ts:54
↓ 1 callersMethodTypedArray
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
types/webidl.d.ts:172
↓ 1 callersMethodWebSocketStreamWrite
(V: unknown)
types/webidl.d.ts:241
↓ 1 callersMethod_read
()
lib/api/api-pipeline.js:33
↓ 1 callersFunction_resume
(client, sync)
lib/dispatcher/client.js:659
↓ 1 callersMethod_shouldHangupOnClient
()
test/node-test/balanced-pool.js:414
↓ 1 callersMethod_shouldStopServer
()
test/node-test/balanced-pool.js:425
↓ 1 callersFunctionabort
(reason)
lib/web/fetch/index.js:2231
↓ 1 callersFunctionabort
()
test/readable.js:13
↓ 1 callersFunctionabortFetch
()
test/fetch/issue-5566.js:41
↓ 1 callersFunctionactiveConnectionController
()
test/retry-handler-controller-proxy.js:22
↓ 1 callersMethodaddAll
(requests: RequestInfo[])
types/cache.d.ts:20
↓ 1 callersMethodaddAll
(requests)
lib/web/cache/cache.js:89
↓ 1 callersMethodaddWaitingHandler
* Add a waiting handler that will receive response events. * Returns false if deduplication can no longer safely attach this handler. * * @pa
lib/handler/deduplication-handler.js:106
↓ 1 callersMethodappend
(name, value, filename = undefined)
lib/web/fetch/formdata.js:30
↓ 1 callersFunctionappendConnectionHeaderTokens
(headersToRemove, connectionHeader)
lib/handler/cache-handler.js:50
↓ 1 callersFunctionappendFetchMetadata
(httpRequest)
lib/web/fetch/util.js:230
↓ 1 callersFunctionappendFetchStackTrace
(err, filename)
index.js:132
↓ 1 callersFunctionappendFetchStackTrace
(err, filename)
index-fetch.js:11
↓ 1 callersFunctionappendHeader
(headers, key, val)
lib/util/cache.js:167
↓ 1 callersFunctionappendRequestOriginHeader
(request)
lib/web/fetch/util.js:256
↓ 1 callersFunctionarrayIncludes
(array, value)
lib/interceptor/cache.js:36
↓ 1 callersFunctionasctime
(date)
test/utils/date.js:283
↓ 1 callersFunctionassertCacheMethods
* @param {unknown} methods * @returns {asserts methods is import('../../types/cache-interceptor.d.ts').default.CacheMethods[]}
lib/util/cache.js:658
↓ 1 callersFunctionassertCacheOrigins
* @param {(string | RegExp)[] | undefined} origins * @param {string} name
lib/interceptor/cache.js:17
↓ 1 callersFunctionassertCacheStore
* @param {unknown} store * @returns {asserts store is import('../../types/cache-interceptor.d.ts').default.CacheStore}
lib/util/cache.js:643
↓ 1 callersFunctionassertConnectTimeout
(dispatcher, t)
test/connect-timeout.js:38
↓ 1 callersFunctionassertConsistent
(t, mockCallHistoryLog)
test/mock-call-history-log.js:8
↓ 1 callersFunctionassertCredentialsRejected
(t, url)
test/fetch/issue-4897.js:25
↓ 1 callersFunctionassertEmitWarningCalledAndReset
()
test/no-strict-content-length.js:19
↓ 1 callersMethodassertNoPendingInterceptors
({ pendingInterceptorsFormatter = new PendingInterceptorsFormatter() } = {})
lib/mock/mock-agent.js:217
↓ 1 callersFunctionassertPath
(t, url, expectedPath)
test/fetch/issue-4897.js:16
↓ 1 callersFunctionassertRequestHandler
* Asserts that the handler object is a request handler. * * @param {object} handler * @param {string} method * @param {string} [upgrade] * @retur
lib/core/util.js:567
↓ 1 callersFunctionassertRequestSucceeds
(dispatcher)
test/issue-4780.js:46
↓ 1 callersFunctionauthenticatedSocks5Example
()
docs/examples/socks5-proxy.js:29
↓ 1 callersFunctionb64decode
(input)
test/busboy/test-parser.js:28
↓ 1 callersFunctionbasicSnapshotExample
* Example: Basic Snapshot Testing * * This example demonstrates how to use SnapshotAgent to record API * interactions and replay them in tests for
docs/examples/snapshot-testing.js:14
↓ 1 callersFunctionbasicSocks5Example
()
docs/examples/socks5-proxy.js:6
↓ 1 callersFunctionbody
()
test/readable.js:317
↓ 1 callersFunctionbody
()
test/mock-agent.js:339
↓ 1 callersFunctionbodyLength
* @param {Blob|Buffer|import ('stream').Stream} body * @returns {number|null}
lib/core/util.js:332
↓ 1 callersFunctionbodyMixinMethods
(instance, getInternalState)
lib/web/fetch/body.js:296
↓ 1 callersMethodboolean
* @see https://webidl.spec.whatwg.org/#es-boolean
types/webidl.d.ts:122
↓ 1 callersMethodbrandCheckMultiple
(list: Interfaces)
types/webidl.d.ts:280
↓ 1 callersFunctionbufferStartsWith
* Checks if {@param buffer} starts with {@param start} * @param {Buffer} buffer * @param {Buffer} start * @param {{ position: number }} position
lib/web/fetch/formdata-parser.js:513
↓ 1 callersFunctionbuildAddressBuffer
* Build a SOCKS5 address buffer * @param {number} type - Address type (1=IPv4, 3=Domain, 4=IPv6) * @param {Buffer} addressBuffer - The address data
lib/core/socks5-utils.js:99
↓ 1 callersFunctionbuildAndValidateFilterCallsOptions
(options = {})
lib/mock/mock-call-history.js:20
↓ 1 callersFunctionbuildAndValidateMockOptions
(opts)
lib/mock/mock-utils.js:683
↓ 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:1215
↓ 1 callersMethodbuildDispatch
(dispatcher, maxRedirections)
lib/handler/redirect-handler.js:12
↓ 1 callersFunctionbuildEventStream
(count)
benchmarks/eventsource/eventsource-stream.mjs:6
↓ 1 callersFunctionbuildH2CapableSSLProxy
()
test/proxy-agent.js:1672
↓ 1 callersFunctionbuildHeaders
* @param {string[] | Record<string, string>} headers * @returns {Record<string, string>}
lib/dispatcher/proxy-agent.js:329
↓ 1 callersFunctionbuildParams
(path)
test/client.js:2184
↓ 1 callersFunctionbuildProxy
()
test/env-http-proxy-agent.js:204
↓ 1 callersFunctionbuildProxy
(listener)
test/proxy-agent.js:1647
← previousnext →501–600 of 2,421, ranked by callers