MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,421 in github.com/nodejs/undici

↓ 3 callersFunctionvalidateCookieValue
cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE ) cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
lib/web/cookies/util.js:69
↓ 3 callersMethodwrite
(chunk, encoding, callback)
lib/cache/memory-cache-store.js:134
↓ 3 callersMethodwrite
(chunk, encoding, callback)
benchmarks/benchmark.js:137
↓ 2 callersMethod#checkContentType
(contentType)
lib/interceptor/response-error.js:18
↓ 2 callersMethod#closeUsingReason
(reason)
lib/web/websocket/stream/websocketstream.js:425
↓ 2 callersMethod#connect
()
lib/web/eventsource/eventsource.js:210
↓ 2 callersMethod#errorWaitingHandler
* @param {WaitingHandler} waitingHandler * @param {Error} err
lib/handler/deduplication-handler.js:437
↓ 2 callersMethod#findValue
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key * @param {boolean} [canBeExpired=false] * @returns {SqliteStoreValu
lib/cache/sqlite-cache-store.js:398
↓ 2 callersMethod#flushWaitingHandler
* @param {WaitingHandler} waitingHandler
lib/handler/deduplication-handler.js:405
↓ 2 callersMethod#internalMatchAll
(request, options, maxResponses = Infinity)
lib/web/cache/cache.js:746
↓ 2 callersMethod#parseNoProxy
()
lib/dispatcher/env-http-proxy-agent.js:113
↓ 2 callersMethod#reconnect
* @see https://html.spec.whatwg.org/multipage/server-sent-events.html#sse-processing-model * @returns {void}
lib/web/eventsource/eventsource.js:311
↓ 2 callersMethod#scheduleFlush
* Schedules a flush (debounced to avoid excessive writes)
lib/mock/snapshot-recorder.js:583
↓ 2 callersMethod#setupDecompressorEvents
* Sets up event handlers for a decompressor stream using readable events * @param {DecompressorStream} decompressor - The decompressor stream *
lib/interceptor/decompress.js:102
↓ 2 callersMethodArrayBuffer
* @see https://webidl.spec.whatwg.org/#idl-ArrayBuffer
types/webidl.d.ts:152
↓ 2 callersMethodArrayBufferView
* @see https://webidl.spec.whatwg.org/#es-buffer-source-types
types/webidl.d.ts:193
↓ 2 callersFunctionReadableStreamFrom
* @param {Iterable} iterable * @returns {ReadableStream}
lib/core/util.js:651
↓ 2 callersMethodSharedArrayBuffer
* @see https://webidl.spec.whatwg.org/#idl-SharedArrayBuffer
types/webidl.d.ts:162
↓ 2 callersMethodStringify
* Stringifies {@param V}
types/webidl.d.ts:84
↓ 2 callersMethod_updateBalancedPoolStats
()
lib/dispatcher/balanced-pool.js:118
↓ 2 callersFunctionabortFetch
(p, request, responseObject, error, controller /* undici-specific */)
lib/web/fetch/index.js:371
↓ 2 callersFunctionaddMockDispatch
(mockDispatches, key, data, opts)
lib/mock/mock-utils.js:211
↓ 2 callersMethodadvanceCursor
()
lib/web/eventsource/eventsource-stream.js:371
↓ 2 callersFunctionappendHeader
* @see https://fetch.spec.whatwg.org/#concept-headers-append * @param {Headers} headers * @param {string} name * @param {string} value
lib/web/fetch/headers.js:88
↓ 2 callersFunctionappendHeadersListFromResponseHeaders
(headersList, headers, rawHeaders)
lib/web/fetch/index.js:78
↓ 2 callersFunctionapplyAlgorithmToBytes
(algorithm, bytes)
lib/web/subresource-integrity/subresource-integrity.js:252
↓ 2 callersFunctionarrayIncludes
(array, value)
lib/util/cache.js:20
↓ 2 callersFunctionarrayIncludes
(array, value)
lib/handler/cache-handler.js:40
↓ 2 callersFunctionassertCacheValue
* @param {any} value
lib/util/cache.js:279
↓ 2 callersFunctionbindRequestToStream
(request, stream, cleanup)
lib/dispatcher/client-h2.js:141
↓ 2 callersFunctionbodyMimeType
* @see https://fetch.spec.whatwg.org/#concept-body-mime-type * @param {any} requestOrResponse internal state
lib/web/fetch/body.js:521
↓ 2 callersFunctionbufferToLowerCasedHeaderName
* Receive the buffer as a string and return its lowercase value. * @param {Buffer} value Header name * @returns {string}
lib/core/util.js:416
↓ 2 callersFunctionbuildAbort
(acRef)
lib/web/fetch/request.js:47
↓ 2 callersFunctionbuildKey
(opts)
lib/mock/mock-utils.js:254
↓ 2 callersFunctioncacheStoreTests
* @typedef {import('../../types/cache-interceptor.d.ts').default.CacheStore} CacheStore * * @param {{ new(...any): CacheStore }} CacheStore * @para
test/cache-interceptor/cache-store-test-utils.js:16
↓ 2 callersFunctioncallOnBodySent
(handler, controller, chunk)
lib/mock/mock-utils.js:599
↓ 2 callersFunctioncallOnRequestSent
(handler, controller, isAborted)
lib/mock/mock-utils.js:609
↓ 2 callersFunctioncanReplayRequest
(request)
lib/dispatcher/client-h2.js:188
↓ 2 callersFunctioncaseSensitiveMatch
* Compares two base64 strings, allowing for base64url * in the second string. * * @param {string} actualValue base64 encoded string * @param {stri
lib/web/subresource-integrity/subresource-integrity.js:264
↓ 2 callersFunctioncleanup
()
lib/api/api-stream.js:24
↓ 2 callersFunctioncleanupAbortListeners
()
lib/web/fetch/index.js:235
↓ 2 callersMethodclear
* Clears all recorded snapshots * @returns {void}
lib/mock/snapshot-recorder.js:477
↓ 2 callersFunctionclearIdleSocketValidation
(socket)
lib/dispatcher/client-h1.js:1053
↓ 2 callersFunctionclearRequestStream
(request)
lib/dispatcher/client-h2.js:151
↓ 2 callersFunctioncloneBody
(body)
lib/web/fetch/body.js:277
↓ 2 callersFunctioncloneRequest
(request)
lib/web/fetch/request.js:961
↓ 2 callersFunctioncloseServer
(server)
test/stream-compat.js:11
↓ 2 callersFunctioncoarsenTime
(timestamp, crossOriginIsolatedCapability)
lib/web/fetch/util.js:311
↓ 2 callersFunctioncollectASequenceOfBytes
* @param {(char: number) => boolean} condition * @param {Buffer} input * @param {{ position: number }} position
lib/web/fetch/formdata-parser.js:475
↓ 2 callersFunctioncompareGetResults
* @param {import('../../types/cache-interceptor.d.ts').default.GetResult} actual * @param {import('../../types/cache-interceptor.d.ts').default.Cache
test/cache-interceptor/cache-store-test-utils.js:459
↓ 2 callersFunctioncompleteRequest
(client, request, resetPendingIdx = false)
lib/dispatcher/client-h2.js:162
↓ 2 callersFunctionconnect
* @param {Client} client * @returns {void}
lib/dispatcher/client.js:495
↓ 2 callersFunctionconnect
(opts, cb)
test/pool.js:84
↓ 2 callersFunctionconsumeFinish
* @param {Consume} consume * @param {Error} [err] * @returns {void}
lib/api/readable.js:593
↓ 2 callersFunctionconsumePush
* @param {Consume} consume * @param {Buffer|string} chunk * @returns {void}
lib/api/readable.js:571
↓ 2 callersFunctioncreateAssertingDispatcher
(t, expectedPath)
test/fetch/issue-4897.js:6
↓ 2 callersFunctioncreateController
()
test/issue-4780.js:8
↓ 2 callersMethodcreateError
(ret, data)
lib/dispatcher/client-h1.js:426
↓ 2 callersMethodcreateMockScopeDispatchData
({ statusCode, data, responseOptions })
lib/mock/mock-interceptor.js:100
↓ 2 callersFunctioncreateReadableStream
(data)
test/utils/stream.js:41
↓ 2 callersFunctioncreateWritable
(target)
test/utils/stream.js:14
↓ 2 callersFunctiondeleteCachedUri
(store, cacheKey, path)
lib/handler/cache-handler.js:84
↓ 2 callersMethoddeleteSnapshot
* Deletes a specific snapshot by request options * @param {import('./snapshot-recorder').SnapshotRequestOptions} requestOpts - Request options to i
lib/mock/snapshot-agent.js:330
↓ 2 callersFunctiondestroy
* @param {import ('stream').Stream} stream * @param {Error} [err] * @returns {void}
lib/core/util.js:362
↓ 2 callersMethoddestroy
* Cleanup method to stop timers * @returns {void}
lib/mock/snapshot-recorder.js:600
↓ 2 callersFunctiondetachRequestStreamForClose
(request)
lib/dispatcher/client-h2.js:214
↓ 2 callersMethoddiff
()
benchmarks/_util/runner.js:46
↓ 2 callersMethoddisableCallHistory
()
lib/mock/mock-agent.js:131
↓ 2 callersFunctiondispatch
(opts, handler)
test/fetch/issue-4897.js:8
↓ 2 callersMethoddispatch
(opts, handler)
lib/mock/snapshot-agent.js:83
↓ 2 callersFunctiondispatchWithProtocolPreference
(body, allowH2)
lib/web/fetch/index.js:2203
↓ 2 callersMethoddropConsumedChunks
()
lib/web/eventsource/eventsource-stream.js:386
↓ 2 callersMethodenableCallHistory
()
lib/mock/mock-agent.js:125
↓ 2 callersFunctionensureWPTCheckout
()
test/web-platform-tests/wpt-runner.mjs:180
↓ 2 callersFunctionestablishWebSocketConnection
* @see https://websockets.spec.whatwg.org/#concept-websocket-establish * @param {URL} url * @param {string|string[]} protocols * @param {import('./
lib/web/websocket/connection.js:26
↓ 2 callersFunctioneventLoopBlocker
(ms)
test/utils/event-loop-blocker.js:3
↓ 2 callersFunctionexpectError
(t, payload, body, err)
test/client.js:1367
↓ 2 callersFunctionextractMimeType
* @see https://fetch.spec.whatwg.org/#concept-header-extract-mime-type * @param {import('./headers').HeadersList} headers
lib/web/fetch/util.js:1291
↓ 2 callersMethodfilterCalls
(criteria, options)
lib/mock/mock-call-history.js:157
↓ 2 callersFunctionfilterHeadersForMatching
* Filters headers based on matching configuration * * @param {import('./snapshot-utils').Headers} headers - Headers to filter * @param {import('./s
lib/mock/snapshot-recorder.js:148
↓ 2 callersFunctionfilterHeadersForStorage
* Filters headers for storage (only excludes sensitive headers) * * @param {import('./snapshot-utils').Headers} headers - Headers to filter * @para
lib/mock/snapshot-recorder.js:185
↓ 2 callersFunctionfilterResponse
(response, type)
lib/web/fetch/response.js:424
↓ 2 callersFunctionfindEntry
(key, entries, now)
lib/cache/memory-cache-store.js:220
↓ 2 callersMethodfirstCall
()
lib/mock/mock-call-history.js:134
↓ 2 callersFunctionformatBytes
* @param {number} num * @returns {string}
benchmarks/_util/index.js:57
↓ 2 callersFunctionframe
(type, flags, streamId, payload = Buffer.alloc(0))
test/http2-goaway-refusal-storm.js:31
↓ 2 callersFunctionfromInnerRequest
* @see https://fetch.spec.whatwg.org/#request-create * @param {any} innerRequest * @param {import('../../dispatcher/agent')} dispatcher * @param {A
lib/web/fetch/request.js:985
↓ 2 callersFunctionfullyReadBody
* @param {import('./body').ExtractBodyResult} body * @param {(bytes: Uint8Array) => void} processBody * @param {(error: Error) => void} processBodyE
lib/web/fetch/util.js:940
↓ 2 callersFunctiongenerateReleaseNotes
({ github, owner, repo, versionTag, commitHash })
scripts/release.js:18
↓ 2 callersMethodgetCallHistory
()
lib/mock/mock-agent.js:137
↓ 2 callersFunctiongetCookies
* @param {Headers} headers * @returns {Record<string, string>}
lib/web/cookies/index.js:28
↓ 2 callersFunctiongetCurrentTransaction
()
test/node-test/async_hooks.js:14
↓ 2 callersFunctiongetDecodeSplit
* @see https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split * @param {string} name lowercase header name * @param {import('./headers'
lib/web/fetch/util.js:1422
↓ 2 callersFunctiongetExpectation
()
test/web-platform-tests/wpt-runner.mjs:424
↓ 2 callersFunctiongetHeaderByName
* @param {import('../../index').Headers|string[]|Record<string, string>} headers * @param {string} key
lib/mock/mock-utils.js:47
↓ 2 callersFunctiongetMaxConcurrent
(client)
lib/dispatcher/client.js:92
↓ 2 callersFunctiongetMockDispatch
(mockDispatches, key)
lib/mock/mock-utils.js:171
↓ 2 callersFunctiongetPreviousRelease
({ releases, versionTag })
scripts/release.js:10
↓ 2 callersFunctiongetPythonInfo
()
test/web-platform-tests/wpt-runner.mjs:109
↓ 2 callersFunctiongetSetCookies
* @param {Headers} headers * @returns {Cookie[]}
lib/web/cookies/index.js:80
← previousnext →301–400 of 2,421, ranked by callers