MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,475 in github.com/nodejs/undici

MethodgetResponseState
* @param {Response} response
lib/web/fetch/response.js:293
MethodgetSnapshotInfo
* Gets information about a specific snapshot * @param {SnapshotRequestOptions} requestOpts - Request options to match * @returns {SnapshotInfo|n
lib/mock/snapshot-recorder.js:523
FunctiongetSocketInfo
* @param {import('net').Socket} socket * @returns {SocketInfo}
lib/core/util.js:634
Methodhandle304
(cachedValue)
lib/handler/cache-handler.js:326
MethodhandleEvent
(object: Event)
types/patch.d.ts:24
Functionhandler
()
test/websocket/permessage-deflate-windowbits.js:197
Methodhas
* @see https://w3c.github.io/ServiceWorker/#cache-storage-has * @param {string} cacheName * @returns {Promise<boolean>}
lib/web/cache/cachestorage.js:60
Methodhas
(name)
lib/web/fetch/headers.js:540
Methodhas
(name)
lib/web/fetch/formdata.js:108
Methodhas
* @param {Feature} feature * @returns {boolean}
lib/util/runtime-features.js:62
Methodhas
()
test/fetch/formdata.js:329
Functionheaders
(headers)
test/mock-agent.js:3227
Functionheaders
(headers)
test/node-fetch/mock.js:95
Methodheaders
()
lib/web/fetch/response.js:208
Methodheaders
()
docs/examples/proxy/proxy.js:287
Methodheaders
()
docs/examples/proxy/proxy.js:317
FunctionheadersListSortAndCombine
* @param {Headers} target
lib/web/fetch/headers.js:132
Methodhello
()
test/types/mock-interceptor.test-d.ts:68
Methodhostname
()
test/node-fetch/utils/server.js:39
Functioninit
(asyncId, type, triggerAsyncId, resource)
test/node-test/async_hooks.js:25
MethodinitMessageEvent
( type, bubbles = false, cancelable = false, data = null, origin = '', lastEventId = '
lib/web/websocket/events.js:66
Functioninstall
()
index.js:223
Methodintegrity
()
lib/web/fetch/request.js:714
Methodintercept
* Sets up the base interceptor for mocking replies from undici.
lib/mock/mock-pool.js:50
Methodintercept
* Sets up the base interceptor for mocking replies from undici.
lib/mock/mock-client.js:50
FunctionisASCIIWhitespace
* @param {number} char * @returns {boolean} * * @see https://infra.spec.whatwg.org/#ascii-whitespace
lib/web/infra/index.js:105
FunctionisAsyncIterable
* @param {*} obj * @returns {obj is AsyncIterable}
lib/core/util.js:302
MethodisEmpty
@returns {boolean}
lib/dispatcher/fixed-queue.js:72
FunctionisHTTPWhiteSpace
* @see https://fetch.spec.whatwg.org/#http-whitespace * @param {number} char
lib/web/fetch/data-url.js:517
MethodisHistoryNavigation
()
lib/web/fetch/request.js:743
MethodisMockActive
()
lib/mock/mock-agent.js:161
MethodisReloadNavigation
()
lib/web/fetch/request.js:733
FunctionisTokenCharCode
* @see https://tools.ietf.org/html/rfc7230#section-3.2.6 * @param {number} c * @returns {boolean}
lib/core/util.js:742
FunctionisomorphicEncode1
(input)
benchmarks/fetch/isomorphic-encode.mjs:18
FunctionisomorphicEncode2
(input)
benchmarks/fetch/isomorphic-encode.mjs:27
Functionjson
()
lib/web/fetch/body.js:335
Methodjson
* 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
Methodjson
(data, init = undefined)
lib/web/fetch/response.js:45
Methodkeepalive
()
lib/web/fetch/request.js:724
Methodkeys
()
types/cache.d.ts:8
Methodkeys
* @see https://w3c.github.io/ServiceWorker/#dom-cache-keys * @param {any} request * @param {import('../../../types/cache').CacheQueryOptions} op
lib/web/cache/cache.js:456
Methodkeys
* @see https://w3c.github.io/ServiceWorker/#cache-storage-keys * @returns {Promise<string[]>}
lib/web/cache/cachestorage.js:127
Methodkeys
()
test/fetch/formdata.js:332
MethodlastEventId
()
lib/web/websocket/events.js:44
Methodlineno
()
lib/web/websocket/events.js:167
Functionlistener
({ error })
test/websocket/opening-handshake.js:176
Functionllhttp__debug
deps/llhttp/src/api.c:500
Functionllhttp_alloc
deps/llhttp/src/api.c:71
Functionllhttp_errno_name
deps/llhttp/src/api.c:208
Functionllhttp_execute
deps/llhttp/src/api.c:125
Functionllhttp_finish
deps/llhttp/src/api.c:135
Functionllhttp_free
deps/llhttp/src/api.c:77
Functionllhttp_get_errno
deps/llhttp/src/api.c:188
Functionllhttp_get_error_pos
deps/llhttp/src/api.c:203
Functionllhttp_get_error_reason
deps/llhttp/src/api.c:193
Functionllhttp_get_http_major
deps/llhttp/src/api.c:89
Functionllhttp_get_http_minor
deps/llhttp/src/api.c:93
Functionllhttp_get_method
deps/llhttp/src/api.c:97
Functionllhttp_get_status_code
deps/llhttp/src/api.c:101
Functionllhttp_get_type
deps/llhttp/src/api.c:85
Functionllhttp_get_upgrade
deps/llhttp/src/api.c:105
Functionllhttp_method_name
deps/llhttp/src/api.c:218
Functionllhttp_pause
deps/llhttp/src/api.c:160
Functionllhttp_reset
deps/llhttp/src/api.c:110
Functionllhttp_resume
deps/llhttp/src/api.c:170
Functionllhttp_resume_after_upgrade
deps/llhttp/src/api.c:179
Functionllhttp_set_error_reason
deps/llhttp/src/api.c:198
Functionllhttp_set_lenient_chunked_length
deps/llhttp/src/api.c:246
Functionllhttp_set_lenient_data_after_close
deps/llhttp/src/api.c:279
Functionllhttp_set_lenient_headers
deps/llhttp/src/api.c:237
Functionllhttp_set_lenient_keep_alive
deps/llhttp/src/api.c:255
Functionllhttp_set_lenient_optional_cr_before_lf
deps/llhttp/src/api.c:303
Functionllhttp_set_lenient_optional_crlf_after_chunk
deps/llhttp/src/api.c:295
Functionllhttp_set_lenient_optional_lf_after_cr
deps/llhttp/src/api.c:287
Functionllhttp_set_lenient_spaces_after_chunk_size
deps/llhttp/src/api.c:311
Functionllhttp_set_lenient_transfer_encoding
deps/llhttp/src/api.c:263
Functionllhttp_set_lenient_version
deps/llhttp/src/api.c:271
Functionllhttp_settings_init
deps/llhttp/src/api.c:130
Functionllhttp_status_name
deps/llhttp/src/api.c:227
MethodloadSnapshots
* 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
Functionlookup
(hostname, options, callback)
test/tls-session-reuse.js:212
Functionlookup
(origin: URL, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, addresses: Interceptors.DN
test/types/dns-interceptor.test-d.ts:23
FunctionmakeFilterCalls
(parameterName)
lib/mock/mock-call-history.js:37
FunctionmakeRequest
()
test/fetch/abort2.js:27
Methodmatch
(request: RequestInfo, options?: MultiCacheQueryOptions)
types/cache.d.ts:4
Methodmatch
(request, options = {})
lib/web/cache/cachestorage.js:23
MethodmatchAll
(request = undefined, options = {})
lib/web/cache/cache.js:61
Methodmessage
()
lib/web/websocket/events.js:155
FunctionmockDispatch
* Mock dispatch function used to simulate undici dispatches
lib/mock/mock-utils.js:303
Methodmode
()
lib/web/fetch/request.js:673
Methodname
()
docs/examples/proxy/proxy.js:271
Methodname
()
docs/examples/proxy/proxy.js:301
Methodname
()
benchmarks/_util/runner.js:26
Methodnext
()
lib/web/fetch/util.js:760
Functionnoop
()
lib/dispatcher/proxy-agent.js:32
Functionnoop
()
lib/dispatcher/client.js:71
Functionnoop
()
lib/dispatcher/client-h2.js:769
Functionnoop
()
lib/core/util.js:28
Functionnoop
()
lib/api/api-pipeline.js:19
Functionnoop
()
lib/api/api-stream.js:9
← previousnext →1,801–1,900 of 2,475, ranked by callers