MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,475 in github.com/nodejs/undici

↓ 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:1427
↓ 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 callersFunctiongetInterceptorOrigin
* @param {import('../../types/dispatcher.d.ts').default.DispatchOptions} opts * @param {string|null|undefined} interceptorOrigin
lib/util/cache.js:164
↓ 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 callersFunctiongetRequestOrigin
* @param {import('../../types/dispatcher.d.ts').default.DispatchOptions} opts
lib/util/cache.js:151
↓ 2 callersFunctiongetSetCookies
* @param {Headers} headers * @returns {Cookie[]}
lib/web/cookies/index.js:80
↓ 2 callersMethodgetSnapshotInfo
* Gets information about a specific snapshot * @returns {import('./snapshot-recorder').SnapshotInfo|null} - Snapshot information or null if not fou
lib/mock/snapshot-agent.js:338
↓ 2 callersFunctiongetStatusText
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status * @param {number} statusCode
lib/mock/mock-utils.js:288
↓ 2 callersFunctiongetStrongestMetadata
* @param {MetadataList} metadataList * @returns {MetadataList} The strongest hash algorithm from the metadata list.
lib/web/subresource-integrity/subresource-integrity.js:132
↓ 2 callersFunctiongetURLRecord
* @see https://whatpr.org/websockets/48/7b748d3...d5570f3.html#get-a-url-record * @param {string} url * @param {string} [baseURL]
lib/web/websocket/util.js:254
↓ 2 callersMethodgetUpstream
(upstream)
lib/dispatcher/balanced-pool.js:146
↓ 2 callersMethodhandshake
* Start the SOCKS5 handshake
lib/core/socks5-client.js:155
↓ 2 callersMethodhasCurrentByte
()
lib/web/eventsource/eventsource-stream.js:384
↓ 2 callersFunctionheaderValueNormalize
* @see https://fetch.spec.whatwg.org/#concept-header-value-normalize * @param {string} potentialValue * @returns {string}
lib/web/fetch/headers.js:29
↓ 2 callersFunctionholdEventLoop
()
test/http2-goaway-refusal-storm.js:98
↓ 2 callersFunctionhttpFetch
(fetchParams)
lib/web/fetch/index.js:1150
↓ 2 callersMethodillegalConstructor
()
types/webidl.d.ts:288
↓ 2 callersFunctionincludesCredentials
* @see https://url.spec.whatwg.org/#include-credentials * @param {URL} url
lib/web/fetch/util.js:1448
↓ 2 callersFunctioninitializeResponse
(response, init, body)
lib/web/fetch/response.js:490
↓ 2 callersMethodinsert
* @param {string} key * @param {any} value * @returns {void} *
lib/core/tree.js:133
↓ 2 callersFunctioninstallErrorAndReconnectServer
(server, p, { contentLength, trackPostWithPlan })
test/node-test/client-errors.js:125
↓ 2 callersFunctionisASCIINumber
* Checks if the given value is a base 10 digit. * @param {string} value * @returns {boolean}
lib/web/eventsource/util.js:20
↓ 2 callersFunctionisBuffer
* @param {*} buffer * @returns {buffer is Buffer}
lib/core/util.js:554
↓ 2 callersFunctionisClosed
* @param {number} readyState * @returns {boolean}
lib/web/websocket/util.js:44
↓ 2 callersFunctionisConnecting
* @param {number} readyState * @returns {boolean}
lib/web/websocket/util.js:12
↓ 2 callersFunctionisContinuationFrame
* @param {number} opcode * @returns {boolean}
lib/web/websocket/util.js:177
↓ 2 callersFunctionisEtagUsable
* Note: this deviates from the spec a little. Empty etags ("", W/"") are valid, * however, including them in cached resposnes serves little to no pu
lib/util/cache.js:654
↓ 2 callersMethodisFull
* Check if the cache is full (either max size or max count reached) * @returns {boolean} True if the cache is full, false otherwise
lib/cache/memory-cache-store.js:85
↓ 2 callersFunctionisHttpOrHttpsPrefixed
* Check if the value is a valid http or https prefixed string. * * @param {string} value * @returns {boolean}
lib/core/util.js:140
↓ 2 callersFunctionisIterable
* @param {*} obj * @returns {obj is Iterable}
lib/core/util.js:310
↓ 2 callersFunctionisNetworkError
(response)
lib/web/fetch/response.js:396
↓ 2 callersFunctionisProxyAuthorizationHeader
* @param {string} key * @returns {boolean}
lib/dispatcher/proxy-agent.js:387
↓ 2 callersMethodisRunning
()
test/node-test/balanced-pool.js:470
↓ 2 callersFunctionisTextBinaryFrame
* @param {number} opcode * @returns {boolean}
lib/web/websocket/util.js:185
↓ 2 callersFunctionisToken
* token := 1*<any (US-ASCII) CHAR except SPACE, CTLs, * or tspecials> * @param {number} char
lib/web/fetch/formdata-parser.js:573
↓ 2 callersFunctionisURLPotentiallyTrustworthy
* A potentially trustworthy URL is one which either inherits context from its * creator (about:blank, about:srcdoc, data) or one whose origin is a *
lib/web/fetch/util.js:661
↓ 2 callersFunctionisValidClientWindowBits
* @see https://www.rfc-editor.org/rfc/rfc7692#section-7.1.2.2 * @description "client-max-window-bits = 1*DIGIT" * @param {string} value * @returns
lib/web/websocket/util.js:229
↓ 2 callersFunctionisValidEncodedURL
* @see https://www.rfc-editor.org/rfc/rfc1738#section-2.2 * @param {string} url * @returns {boolean}
lib/web/fetch/util.js:62
↓ 2 callersFunctionisValidLastEventId
* Checks if the given value is a valid LastEventId. * @param {string} value * @returns {boolean}
lib/web/eventsource/util.js:10
↓ 2 callersFunctioniteratorMixin
* @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object * @param {string} name name of the instance * @param {any} object class * @par
lib/web/fetch/util.js:876
↓ 2 callersFunctionlisten
(server)
test/interceptors/origin-isolation.js:43
↓ 2 callersFunctionllhttp__internal_init
deps/llhttp/src/llhttp.c:1205
↓ 2 callersFunctionllhttp_message_needs_eof
deps/llhttp/src/http.c:129
↓ 2 callersFunctionllhttp_should_keep_alive
deps/llhttp/src/http.c:156
↓ 2 callersFunctionlowerCaseEntries
(headers)
lib/mock/mock-utils.js:35
↓ 2 callersFunctionmainFetch
(fetchParams, recursive)
lib/web/fetch/index.js:564
↓ 2 callersFunctionmakeDeduplicationKey
* Creates a string key for request deduplication purposes. * This key is used to identify in-flight requests that can be shared. * @param {import('.
lib/util/cache.js:721
↓ 2 callersFunctionmakePolicyContainer
()
lib/web/fetch/util.js:367
↓ 2 callersMethodmarkAuthenticated
()
lib/core/socks5-client.js:147
↓ 2 callersFunctionmatchHeaders
(mockDispatch, headers)
lib/mock/mock-utils.js:73
↓ 2 callersFunctionmaybeResolveReady
()
test/web-platform-tests/wpt-runner.mjs:217
↓ 2 callersFunctionmixinBody
(prototype, getInternalState)
lib/web/fetch/body.js:445
↓ 2 callersFunctionnormalizeHeaders
* Normalizes headers for consistent comparison * * @param {Object|UndiciHeaders} headers - Headers to normalize * @returns {NormalizedHeaders} - No
lib/mock/snapshot-utils.js:104
↓ 2 callersFunctionnormalizeSearchParams
(query)
lib/mock/mock-utils.js:97
↓ 2 callersMethodnthCall
(number)
lib/mock/mock-call-history.js:142
↓ 2 callersFunctiononError
(client, err)
lib/dispatcher/client.js:469
↓ 2 callersMethodonFinally
()
lib/core/request.js:428
↓ 2 callersMethodonUpgrade
* @param {Buffer} head
lib/dispatcher/client-h1.js:563
↓ 2 callersMethodopen
(cacheName: string)
types/cache.d.ts:6
↓ 2 callersFunctionparseAddress
* Parse an address and determine its type * @param {string} address - The address to parse * @returns {{type: number, buffer: Buffer}} Address type
lib/core/socks5-utils.js:12
↓ 2 callersFunctionparseCookie
* Parses a cookie string * @param {string} cookie
lib/web/cookies/index.js:98
↓ 2 callersFunctionparseIPv6
* Parse IPv6 address to buffer * @param {string} address - IPv6 address string * @returns {Buffer} 16-byte buffer
lib/core/socks5-utils.js:47
↓ 2 callersFunctionparseMetadata
* @param {string} metadata * @returns {MetadataList} * * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata
lib/web/subresource-integrity/subresource-integrity.js:196
↓ 2 callersFunctionparseSetCookie
* @description Parses the field-value attributes of a set-cookie header string. * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc62
lib/web/cookies/parse.js:14
↓ 2 callersFunctionparseURL
* @param {string|URL|Record<string,string>} url * @returns {URL}
lib/core/util.js:161
↓ 2 callersFunctionpathHasQueryOrFragment
* @param {string} url The path to check for query strings or fragments. * @returns {boolean} Returns true if the path contains a query string or frag
lib/core/util.js:95
↓ 2 callersMethodpendingInterceptors
()
lib/mock/mock-agent.js:221
↓ 2 callersMethodping
(_, cb)
test/http2-late-data.js:75
↓ 2 callersFunctionprintResults
(results)
benchmarks/_util/index.js:13
↓ 2 callersMethodprocessEvent
* @param {EventSourceStreamEvent} event
lib/web/eventsource/eventsource-stream.js:347
↓ 2 callersFunctionprocessHeader
(request, key, val)
lib/core/request.js:446
↓ 2 callersMethodput
(request: RequestInfo, response: Response)
types/cache.d.ts:21
↓ 2 callersFunctionreadAllBytes
* @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes * @see https://streams.spec.whatwg.org/#read-loop * @param {Reada
lib/web/fetch/util.js:993
↓ 2 callersMethodrecordConverter
* @see https://webidl.spec.whatwg.org/#es-to-record * @description Convert a value, V, to a WebIDL record type.
types/webidl.d.ts:294
↓ 2 callersFunctionrefH2Session
(session)
lib/dispatcher/client-h2.js:386
↓ 2 callersFunctionrefreshTimeout
()
lib/util/timers.js:190
↓ 2 callersFunctionrefusingServer
(errorCode)
test/http2-goaway-refusal-storm.js:48
↓ 2 callersFunctionreleaseRequestStream
(stream)
lib/dispatcher/client-h2.js:1298
↓ 2 callersFunctionremoveHTTPWhitespace
* @see https://fetch.spec.whatwg.org/#http-whitespace * @param {string} str * @param {boolean} [leading=true] * @param {boolean} [trailing=true]
lib/web/fetch/data-url.js:528
↓ 2 callersFunctionremoveUpgradeStreamListeners
(stream)
lib/dispatcher/client-h2.js:860
↓ 2 callersMethodremoveUpstream
(upstream)
lib/dispatcher/balanced-pool.js:130
↓ 2 callersMethodreplaceSnapshots
* Replaces all snapshots with new data (full replacement) * @param {Array<{hash: string; snapshot: import('./snapshot-recorder').SnapshotEntryshotE
lib/mock/snapshot-agent.js:347
↓ 2 callersFunctionrequest
()
test/tls-session-reuse.js:60
↓ 2 callersMethodresetCallCounts
* Resets call counts for all snapshots (useful for test cleanup) * @returns {void}
lib/mock/snapshot-agent.js:321
↓ 2 callersFunctionresetHttp2Session
(session, err)
lib/dispatcher/client-h2.js:96
↓ 2 callersFunctionrespond
(stream)
test/issue-5390.js:21
↓ 2 callersFunctionsample
()
test/fetch/issue-4058.js:32
↓ 2 callersFunctionserializeAMimeType
* @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type
lib/web/fetch/data-url.js:472
↓ 2 callersMethodset
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key * @param {import('../../types/cache-interceptor.d.ts').default.CacheVa
lib/cache/sqlite-cache-store.js:260
↓ 2 callersFunctionsetGlobalOrigin
(newOrigin)
lib/web/fetch/global.js:11
↓ 2 callersFunctionsetHttp2IdleTimeout
(session)
lib/dispatcher/client-h2.js:499
↓ 2 callersFunctionsetupSocket
(socket)
docs/examples/proxy/proxy.js:241
↓ 2 callersFunctionsplitVaryHeader
* @param {string | string[]} varyHeader Vary header from the server * @returns {string[]}
lib/util/cache.js:576
↓ 2 callersMethodstart
()
test/node-test/balanced-pool.js:446
↓ 2 callersFunctionstartRedirectingWithQueryParams
(t)
test/utils/redirecting-servers.js:235
← previousnext →401–500 of 2,475, ranked by callers