Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/undici
/ functions
Functions
2,475 in github.com/nodejs/undici
⨍
Functions
2,475
◇
Types & classes
605
Method
getResponseState
* @param {Response} response
lib/web/fetch/response.js:293
Method
getSnapshotInfo
* Gets information about a specific snapshot * @param {SnapshotRequestOptions} requestOpts - Request options to match * @returns {SnapshotInfo|n
lib/mock/snapshot-recorder.js:523
Function
getSocketInfo
* @param {import('net').Socket} socket * @returns {SocketInfo}
lib/core/util.js:634
Method
handle304
(cachedValue)
lib/handler/cache-handler.js:326
Method
handleEvent
(object: Event)
types/patch.d.ts:24
Function
handler
()
test/websocket/permessage-deflate-windowbits.js:197
Method
has
* @see https://w3c.github.io/ServiceWorker/#cache-storage-has * @param {string} cacheName * @returns {Promise<boolean>}
lib/web/cache/cachestorage.js:60
Method
has
(name)
lib/web/fetch/headers.js:540
Method
has
(name)
lib/web/fetch/formdata.js:108
Method
has
* @param {Feature} feature * @returns {boolean}
lib/util/runtime-features.js:62
Method
has
()
test/fetch/formdata.js:329
Function
headers
(headers)
test/mock-agent.js:3227
Function
headers
(headers)
test/node-fetch/mock.js:95
Method
headers
()
lib/web/fetch/response.js:208
Method
headers
()
docs/examples/proxy/proxy.js:287
Method
headers
()
docs/examples/proxy/proxy.js:317
Function
headersListSortAndCombine
* @param {Headers} target
lib/web/fetch/headers.js:132
Method
hello
()
test/types/mock-interceptor.test-d.ts:68
Method
hostname
()
test/node-fetch/utils/server.js:39
Function
init
(asyncId, type, triggerAsyncId, resource)
test/node-test/async_hooks.js:25
Method
initMessageEvent
( type, bubbles = false, cancelable = false, data = null, origin = '', lastEventId = '
lib/web/websocket/events.js:66
Function
install
()
index.js:223
Method
integrity
()
lib/web/fetch/request.js:714
Method
intercept
* Sets up the base interceptor for mocking replies from undici.
lib/mock/mock-pool.js:50
Method
intercept
* Sets up the base interceptor for mocking replies from undici.
lib/mock/mock-client.js:50
Function
isASCIIWhitespace
* @param {number} char * @returns {boolean} * * @see https://infra.spec.whatwg.org/#ascii-whitespace
lib/web/infra/index.js:105
Function
isAsyncIterable
* @param {*} obj * @returns {obj is AsyncIterable}
lib/core/util.js:302
Method
isEmpty
@returns {boolean}
lib/dispatcher/fixed-queue.js:72
Function
isHTTPWhiteSpace
* @see https://fetch.spec.whatwg.org/#http-whitespace * @param {number} char
lib/web/fetch/data-url.js:517
Method
isHistoryNavigation
()
lib/web/fetch/request.js:743
Method
isMockActive
()
lib/mock/mock-agent.js:161
Method
isReloadNavigation
()
lib/web/fetch/request.js:733
Function
isTokenCharCode
* @see https://tools.ietf.org/html/rfc7230#section-3.2.6 * @param {number} c * @returns {boolean}
lib/core/util.js:742
Function
isomorphicEncode1
(input)
benchmarks/fetch/isomorphic-encode.mjs:18
Function
isomorphicEncode2
(input)
benchmarks/fetch/isomorphic-encode.mjs:27
Function
json
()
lib/web/fetch/body.js:335
Method
json
* Consumes and returns the body as a JavaScript Object. * * @see https://fetch.spec.whatwg.org/#dom-body-json * @returns {Promise<unknown>}
lib/api/readable.js:185
Method
json
(data, init = undefined)
lib/web/fetch/response.js:45
Method
keepalive
()
lib/web/fetch/request.js:724
Method
keys
()
types/cache.d.ts:8
Method
keys
* @see https://w3c.github.io/ServiceWorker/#dom-cache-keys * @param {any} request * @param {import('../../../types/cache').CacheQueryOptions} op
lib/web/cache/cache.js:456
Method
keys
* @see https://w3c.github.io/ServiceWorker/#cache-storage-keys * @returns {Promise<string[]>}
lib/web/cache/cachestorage.js:127
Method
keys
()
test/fetch/formdata.js:332
Method
lastEventId
()
lib/web/websocket/events.js:44
Method
lineno
()
lib/web/websocket/events.js:167
Function
listener
({ error })
test/websocket/opening-handshake.js:176
Function
llhttp__debug
deps/llhttp/src/api.c:500
Function
llhttp_alloc
deps/llhttp/src/api.c:71
Function
llhttp_errno_name
deps/llhttp/src/api.c:208
Function
llhttp_execute
deps/llhttp/src/api.c:125
Function
llhttp_finish
deps/llhttp/src/api.c:135
Function
llhttp_free
deps/llhttp/src/api.c:77
Function
llhttp_get_errno
deps/llhttp/src/api.c:188
Function
llhttp_get_error_pos
deps/llhttp/src/api.c:203
Function
llhttp_get_error_reason
deps/llhttp/src/api.c:193
Function
llhttp_get_http_major
deps/llhttp/src/api.c:89
Function
llhttp_get_http_minor
deps/llhttp/src/api.c:93
Function
llhttp_get_method
deps/llhttp/src/api.c:97
Function
llhttp_get_status_code
deps/llhttp/src/api.c:101
Function
llhttp_get_type
deps/llhttp/src/api.c:85
Function
llhttp_get_upgrade
deps/llhttp/src/api.c:105
Function
llhttp_method_name
deps/llhttp/src/api.c:218
Function
llhttp_pause
deps/llhttp/src/api.c:160
Function
llhttp_reset
deps/llhttp/src/api.c:110
Function
llhttp_resume
deps/llhttp/src/api.c:170
Function
llhttp_resume_after_upgrade
deps/llhttp/src/api.c:179
Function
llhttp_set_error_reason
deps/llhttp/src/api.c:198
Function
llhttp_set_lenient_chunked_length
deps/llhttp/src/api.c:246
Function
llhttp_set_lenient_data_after_close
deps/llhttp/src/api.c:279
Function
llhttp_set_lenient_headers
deps/llhttp/src/api.c:237
Function
llhttp_set_lenient_keep_alive
deps/llhttp/src/api.c:255
Function
llhttp_set_lenient_optional_cr_before_lf
deps/llhttp/src/api.c:303
Function
llhttp_set_lenient_optional_crlf_after_chunk
deps/llhttp/src/api.c:295
Function
llhttp_set_lenient_optional_lf_after_cr
deps/llhttp/src/api.c:287
Function
llhttp_set_lenient_spaces_after_chunk_size
deps/llhttp/src/api.c:311
Function
llhttp_set_lenient_transfer_encoding
deps/llhttp/src/api.c:263
Function
llhttp_set_lenient_version
deps/llhttp/src/api.c:271
Function
llhttp_settings_init
deps/llhttp/src/api.c:130
Function
llhttp_status_name
deps/llhttp/src/api.c:227
Method
loadSnapshots
* Loads snapshots from file * @param {string} [filePath] - Optional file path to load snapshots from * @return {Promise<void>} - Resolves when s
lib/mock/snapshot-recorder.js:417
Function
lookup
(hostname, options, callback)
test/tls-session-reuse.js:212
Function
lookup
(origin: URL, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, addresses: Interceptors.DN
test/types/dns-interceptor.test-d.ts:23
Function
makeFilterCalls
(parameterName)
lib/mock/mock-call-history.js:37
Function
makeRequest
()
test/fetch/abort2.js:27
Method
match
(request: RequestInfo, options?: MultiCacheQueryOptions)
types/cache.d.ts:4
Method
match
(request, options = {})
lib/web/cache/cachestorage.js:23
Method
matchAll
(request = undefined, options = {})
lib/web/cache/cache.js:61
Method
message
()
lib/web/websocket/events.js:155
Function
mockDispatch
* Mock dispatch function used to simulate undici dispatches
lib/mock/mock-utils.js:303
Method
mode
()
lib/web/fetch/request.js:673
Method
name
()
docs/examples/proxy/proxy.js:271
Method
name
()
docs/examples/proxy/proxy.js:301
Method
name
()
benchmarks/_util/runner.js:26
Method
next
()
lib/web/fetch/util.js:760
Function
noop
()
lib/dispatcher/proxy-agent.js:32
Function
noop
()
lib/dispatcher/client.js:71
Function
noop
()
lib/dispatcher/client-h2.js:769
Function
noop
()
lib/core/util.js:28
Function
noop
()
lib/api/api-pipeline.js:19
Function
noop
()
lib/api/api-stream.js:9
← previous
next →
1,801–1,900 of 2,475, ranked by callers