MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,421 in github.com/nodejs/undici

Functionblob
()
test/fetch/request.js:174
Functionblob
()
test/fetch/response.js:99
Methodblob
* Consumes and returns the body as a Blob * * @see https://fetch.spec.whatwg.org/#dom-body-blob * @returns {Promise<Blob>}
lib/api/readable.js:195
Functionbody
(bodyString)
test/fetch/issue-1447.js:25
Methodbody
* @see https://fetch.spec.whatwg.org/#dom-body-body * @readonly * @returns {ReadableStream}
lib/api/readable.js:247
Methodbody
()
lib/web/fetch/request.js:761
Methodbody
()
lib/web/fetch/response.js:215
MethodbodyUsed
* Returns true if the body is not null and the body has been consumed. * Otherwise, returns false. * * @see https://fetch.spec.whatwg.org/#do
lib/api/readable.js:238
MethodbodyUsed
()
lib/web/fetch/request.js:767
MethodbodyUsed
()
lib/web/fetch/response.js:221
MethodbufferedAmount
()
lib/web/websocket/websocket.js:348
FunctionbuildMockDispatch
()
lib/mock/mock-utils.js:626
Functionbusy
* @param {import('../core/request.js')} request * @returns {boolean}
lib/dispatcher/client-h1.js:924
Functionbusy
* @param {import('../core/request.js')} request * @returns {boolean}
lib/dispatcher/client-h2.js:351
Functionbytes
()
lib/web/fetch/body.js:389
Methodbytes
* Consumes and returns the body as an Uint8Array. * * @see https://fetch.spec.whatwg.org/#dom-body-bytes * @returns {Promise<Uint8Array>}
lib/api/readable.js:205
Functioncancel
()
lib/core/util.js:677
Functioncancel
()
lib/web/fetch/body.js:60
Functioncancel
(reason)
test/fetch/client-fetch.js:120
Functioncancel
()
test/fetch/fire-and-forget.js:62
FunctioncancelAlgorithm
(reason)
lib/web/fetch/index.js:2032
MethodcleanMocks
()
lib/mock/mock-pool.js:57
MethodcleanMocks
()
lib/mock/mock-client.js:57
Methodclear
* Clears all cached feature detections.
lib/util/runtime-features.js:54
FunctionclearFastTimeout
* The clearTimeout method cancels an instantiated FastTimer previously * created by calling setFastTimeout. * * @param {FastTimer} timeout
lib/util/timers.js:384
MethodclientFactory
(origin: URL, opts: object)
types/proxy-agent.d.ts:26
Methodclone
()
lib/web/fetch/request.js:780
Methodclone
()
lib/web/fetch/response.js:228
Functionclose
()
test/proxy-agent.js:138
Functionclose
(code)
test/http2-goaway-retry-body.js:71
Functionclose
()
benchmarks/benchmark.js:254
Functionclose
()
benchmarks/post-benchmark.js:264
Functionclose
()
benchmarks/benchmark-https.js:266
Functionclose
()
benchmarks/benchmark-http2.js:257
Methodclose
()
types/eventsource.d.ts:17
Methodclose
(options?: Partial<WebSocketCloseInfo>)
types/websocket.d.ts:173
Methodclose
()
lib/cache/sqlite-cache-store.js:226
Methodclose
(...args)
lib/dispatcher/dispatcher1-wrapper.js:98
Methodclose
(callback)
lib/dispatcher/dispatcher-base.js:56
Methodclose
()
lib/dispatcher/retry-agent.js:26
Methodclose
()
lib/dispatcher/dispatcher.js:9
Methodclose
* Async close method that saves all recordings and performs cleanup * @returns {Promise<void>}
lib/mock/snapshot-recorder.js:612
Methodclose
()
lib/mock/mock-agent.js:93
Methodclose
* @see https://websockets.spec.whatwg.org/#dom-websocket-close * @param {number|undefined} code * @param {string|undefined} reason
lib/web/websocket/websocket.js:220
Methodclose
(closeInfo = undefined)
lib/web/websocket/stream/websocketstream.js:185
Methodclose
(...args)
test/issue-1757.js:17
Methodclose
(callback)
test/redirect-pipeline.js:32
Methodclose
(cb)
test/pool.js:716
Methodclose
()
test/http2-late-data.js:46
Methodclose
()
test/http2-late-data.js:65
Methodclose
()
test/http2-ping-errors.js:50
Methodclose
()
test/http2-window-size.js:28
Methodclose
()
test/issue-4780.js:28
Methodclose
(...args)
test/mock-agent.js:3468
Methodclose
()
test/http2-response-after-completion.js:62
Methodclose
()
test/http2-response-after-completion.js:81
Methodclose
()
test/node-test/balanced-pool.js:65
Methodclose
(...args)
test/jest/issue-1757.test.js:17
Methodclose
()
test/fixtures/socks5-test-server.js:213
MethodcloseClientIfUnused
()
lib/dispatcher/agent.js:95
MethodcloseCode
()
lib/web/websocket/stream/websocketerror.js:67
FunctioncloseListener
({ websocket, code, reason })
test/websocket/diagnostics-channel-open-close.js:26
MethodclosePoolIfUnused
()
lib/dispatcher/socks5-proxy-agent.js:230
Methodclosed
@returns {boolean}
lib/dispatcher/dispatcher-base.js:52
Methodclosed
()
lib/web/websocket/stream/websocketstream.js:180
MethodclosingInfo
()
lib/web/websocket/receiver.js:500
Methodcode
()
lib/web/websocket/events.js:125
Methodcolno
()
lib/web/websocket/events.js:173
FunctioncompareHeaderName
(a, b)
lib/web/fetch/headers.js:189
FunctioncompleteRequestStream
()
lib/dispatcher/client-h2.js:792
Functionconnect
(opts, callback)
lib/api/api-connect.js:90
Functionconnect
(opts, cb)
test/client.js:102
Functionconnect
(opts, callback)
test/socks5-proxy-agent.js:101
Functionconnect
(opts, cb)
test/h2c-client.js:234
Functionconnect
(opts, cb)
test/round-robin-pool.js:53
Functionconnect
(opts, cb)
test/node-test/ca-fingerprint.js:28
Functionconnect
(opts, cb)
docs/examples/ca-fingerprint/index.js:23
MethodconnectionError
(origin: URL, targets: readonly Dispatcher[], error: Errors.UndiciError)
test/types/dispatcher.events.test-d.ts:9
Functionconstruct
(target, args, newTarget)
lib/web/websocket/stream/websocketerror.js:21
Methodconstructor
* @param {import('../../types/cache-interceptor.d.ts').default.MemoryCacheStoreOpts | undefined} [opts]
lib/cache/memory-cache-store.js:31
Methodconstructor
* @param {import('../../types/cache-interceptor.d.ts').default.SqliteCacheStoreOpts | undefined} opts
lib/cache/sqlite-cache-store.js:78
Methodconstructor
(handler)
lib/dispatcher/dispatcher1-wrapper.js:10
Methodconstructor
(dispatcher)
lib/dispatcher/dispatcher1-wrapper.js:66
Methodconstructor
(origin, { connections, factory = defaultFactory, connect, connectTimeout, tls, maxCac
lib/dispatcher/pool.js:29
Methodconstructor
* @param {import('../../types/dispatcher').DispatcherOptions} [opts]
lib/dispatcher/dispatcher-base.js:31
Methodconstructor
(opts = {})
lib/dispatcher/env-http-proxy-agent.js:18
Methodconstructor
(proxyUrl, { headers = {}, connect, factory, proxyServername })
lib/dispatcher/proxy-agent.js:48
Methodconstructor
(opts)
lib/dispatcher/proxy-agent.js:111
Methodconstructor
(agent, options = {})
lib/dispatcher/retry-agent.js:9
Methodconstructor
* @param {import('./client.js')} client * @param {import('net').Socket} socket * @param {*} llhttp
lib/dispatcher/client-h1.js:216
Methodconstructor
* * @param {object} arg * @param {AbortCallback} arg.abort * @param {import('net').Socket} arg.socket * @param {import('../core/request.js
lib/dispatcher/client-h1.js:1649
Methodconstructor
* * @param {string|URL} url * @param {import('../../types/client.js').Client.Options} options
lib/dispatcher/client.js:108
Methodconstructor
(proxyUrl, options = {})
lib/dispatcher/socks5-proxy-agent.js:31
Methodconstructor
(upstreams = [], { factory = defaultFactory, ...opts } = {})
lib/dispatcher/balanced-pool.js:52
Methodconstructor
(origin, clientOpts)
lib/dispatcher/h2c-client.js:7
Methodconstructor
()
lib/dispatcher/fixed-queue.js:104
Methodconstructor
(origin, { connections, factory = defaultFactory, connect, connectTimeout, tls, maxCac
lib/dispatcher/round-robin-pool.js:30
Methodconstructor
({ factory = defaultFactory, maxOrigins = Infinity, connect, ...options } = {})
lib/dispatcher/agent.js:25
Methodconstructor
(opts)
lib/interceptor/dns.js:111
Methodconstructor
(opts)
lib/interceptor/dns.js:146
← previousnext →1,401–1,500 of 2,421, ranked by callers