MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,475 in github.com/nodejs/undici

Methodconstructor
(type, eventInitDict = {})
lib/web/websocket/events.js:13
Methodconstructor
(type, eventInitDict = {})
lib/web/websocket/events.js:106
Methodconstructor
(type, eventInitDict)
lib/web/websocket/events.js:142
Methodconstructor
* @param {string} url * @param {string|string[]} protocols
lib/web/websocket/websocket.js:133
Methodconstructor
(message = '', init = undefined)
lib/web/websocket/stream/websocketerror.js:33
Methodconstructor
(url, options = undefined)
lib/web/websocket/stream/websocketstream.js:79
Methodconstructor
* @param {object} options * @param {boolean} [options.readableObjectMode] * @param {number} [options.maxEventSize] * @param {eventSourceSetti
lib/web/eventsource/eventsource-stream.js:143
Methodconstructor
* Creates a new EventSource object. * @param {string} url * @param {EventSourceInit} [eventSourceInitDict={}] * @see https://html.spec.whatwg
lib/web/eventsource/eventsource.js:111
Methodconstructor
* @constructor * @param {Function} callback A function to be executed after the timer * expires. * @param {number} delay The time, in millise
lib/util/timers.js:269
Methodconstructor
(client)
lib/util/stats.js:13
Methodconstructor
(pool)
lib/util/stats.js:22
Methodconstructor
(handler)
lib/handler/decorator-handler.js:14
Methodconstructor
(dispatch, maxRedirections, opts, handler)
lib/handler/redirect-handler.js:22
Methodconstructor
* @param {(success: boolean, context?: any, statusCode?: number, headers?: import('../../types/header.d.ts').IncomingHttpHeaders) => void} callback Fu
lib/handler/cache-revalidation-handler.js:43
Methodconstructor
(onAbort)
lib/handler/retry-handler.js:51
Methodconstructor
(opts, { dispatch, handler })
lib/handler/retry-handler.js:83
Methodconstructor
* @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} opts * @param {import('../../types/cache-interceptor.d.ts').def
lib/handler/cache-handler.js:162
Methodconstructor
* @param {DispatchHandler} primaryHandler The primary handler * @param {() => void} onComplete Callback when request completes * @param {number}
lib/handler/deduplication-handler.js:93
Methodconstructor
(inner, options)
test/issue-1757.js:8
Methodconstructor
()
test/http2-goaway.js:388
Methodconstructor
()
test/pool.js:380
Methodconstructor
()
test/http2-invalid-session.js:19
Methodconstructor
()
test/http2-late-data.js:28
Methodconstructor
(stream)
test/http2-late-data.js:54
Methodconstructor
(handler)
test/decorator-handler.js:32
Methodconstructor
()
test/http2-ping-errors.js:28
Methodconstructor
()
test/http2-ping-errors.js:44
Methodconstructor
()
test/http2-window-size.js:40
Methodconstructor
()
test/client-timeout.js:21
Methodconstructor
(target)
test/client-timeout.js:43
Methodconstructor
()
test/socks5-client.js:79
Methodconstructor
(inner, options)
test/mock-agent.js:3459
Methodconstructor
()
test/http2-response-after-completion.js:44
Methodconstructor
(stream)
test/http2-response-after-completion.js:70
Methodconstructor
()
test/fetch/formdata.js:273
Methodconstructor
(data)
test/utils/stream.js:27
Methodconstructor
(origin)
test/node-test/balanced-pool.js:59
Methodconstructor
(...args)
test/node-test/balanced-pool.js:80
Methodconstructor
({ config: { server, socketHangup, downOnRequests, socketHangupOnRequests }, onRequest })
test/node-test/balanced-pool.js:402
Methodconstructor
(inner, options)
test/jest/issue-1757.test.js:8
Methodconstructor
()
test/jest/parser-timeout.test.js:11
Methodconstructor
()
test/interceptors/cache-async-store.js:21
Methodconstructor
()
test/websocket/websocketinit.js:9
Methodconstructor
(options = {})
test/fixtures/socks5-test-server.js:11
Methodconstructor
()
test/node-fetch/utils/server.js:9
Methodconstructor
(ctx)
docs/examples/proxy/proxy.js:39
Methodconstructor
(ctx)
docs/examples/proxy/proxy.js:98
Methodconstructor
(message = STATUS_CODES[502])
docs/examples/proxy/proxy.js:263
Methodconstructor
(message = STATUS_CODES[508])
docs/examples/proxy/proxy.js:293
Methodconstructor
(resolve)
benchmarks/benchmark.js:135
Methodconstructor
(resolve)
benchmarks/post-benchmark.js:128
Methodconstructor
(resolve)
benchmarks/benchmark-https.js:104
Methodconstructor
(resolve)
benchmarks/benchmark-http2.js:88
Methodconstructor
* @param {string} name * @param {(...args: any[]) => any} callback
benchmarks/_util/runner.js:21
Methodcork
()
test/http2-response-after-completion.js:65
FunctioncreateDumpInterceptor
( { maxSize: defaultMaxSize } = { maxSize: 1024 * 1024 } )
lib/interceptor/dump.js:83
MethodcreateFastMessageEvent
(type, init)
lib/web/websocket/events.js:85
FunctioncreateRedirectInterceptor
({ maxRedirections: defaultMaxRedirections, throwOnMaxRedirect: defaultThrowOnMaxRedirect, stripHeadersOnRedir
lib/interceptor/redirect.js:5
MethodcreateUnvalidatedWebSocketError
* @param {string} message * @param {number|null} code * @param {string} reason
lib/web/websocket/stream/websocketerror.js:80
FunctioncreateWriteStream
(_: CacheInterceptor.CacheKey, _2: CacheInterceptor.CacheValue)
test/types/cache-interceptor.test-d.ts:10
FunctioncreateWriteStream
(key)
test/interceptors/cache.js:1185
MethodcreateWriteStream
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key * @param {import('../../types/cache-interceptor.d.ts').default.CacheVa
lib/cache/memory-cache-store.js:124
MethodcreateWriteStream
* @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:312
MethodcreateWriteStream
(key, value)
test/interceptors/cache-async-store.js:41
Methodcredentials
()
lib/web/fetch/request.js:683
Methoddata
()
lib/web/websocket/events.js:32
FunctiondeepClone
* @function * @template T * @param {T} obj * @returns {T}
lib/core/util.js:294
FunctiondefaultAgentFactory
(origin, opts)
lib/dispatcher/proxy-agent.js:34
FunctiondefaultFactory
(origin, opts)
lib/dispatcher/pool.js:24
FunctiondefaultFactory
(origin, opts)
lib/dispatcher/proxy-agent.js:28
FunctiondefaultFactory
(origin, opts)
lib/dispatcher/balanced-pool.js:47
FunctiondefaultFactory
(origin, opts)
lib/dispatcher/round-robin-pool.js:25
FunctiondefaultFactory
(origin, opts)
lib/dispatcher/agent.js:18
Functiondelete
(_: CacheInterceptor.CacheKey)
test/types/cache-interceptor.test-d.ts:14
Functiondelete
(origin: string)
test/types/dns-interceptor.test-d.ts:15
Functiondelete
()
test/interceptors/cache.js:1188
Functiondelete
(origin)
test/interceptors/dns.js:1843
Methoddelete
(key: CacheKey)
types/cache-interceptor.d.ts:115
Methoddelete
(cacheName: string)
types/cache.d.ts:7
Methoddelete
* @param {CacheKey} key
lib/cache/memory-cache-store.js:205
Methoddelete
* @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key
lib/cache/sqlite-cache-store.js:346
Methoddelete
(hostname)
lib/interceptor/dns.js:128
Methoddelete
(request, options = {})
lib/web/cache/cache.js:390
Methoddelete
* @see https://w3c.github.io/ServiceWorker/#cache-storage-delete * @param {string} cacheName * @returns {Promise<boolean>}
lib/web/cache/cachestorage.js:112
Methoddelete
* @see https://fetch.spec.whatwg.org/#concept-header-list-delete * @param {string} name * @param {boolean} isLowerCase
lib/web/fetch/headers.js:286
Methoddelete
(name)
lib/web/fetch/headers.js:473
Methoddelete
(name)
lib/web/fetch/formdata.js:58
Methoddelete
()
test/fetch/formdata.js:326
Methoddelete
(key)
test/interceptors/cache-async-store.js:45
FunctiondeleteRequest
(port = 3001)
docs/examples/request.js:65
MethoddeleteSnapshot
* Deletes a specific snapshot by request options * @param {SnapshotRequestOptions} requestOpts - Request options to match * @returns {boolean} -
lib/mock/snapshot-recorder.js:512
Methoddestination
()
lib/web/fetch/request.js:629
Functiondestroy
* @param {Error|undefined} err * @param {() => void} callback
lib/dispatcher/client-h1.js:906
Functiondestroy
* @param {Error | null} err * @param {() => void} callback
lib/dispatcher/client-h2.js:336
Functiondestroy
(err, abort = true)
lib/web/fetch/index.js:1831
Functiondestroy
()
test/proxy-agent.js:141
Functiondestroy
(err, cb)
test/connect-abort.js:15
Functiondestroy
(err, callback)
test/client.js:1083
Functiondestroy
(asyncId)
test/node-test/async_hooks.js:30
Methoddestroy
(...args)
lib/dispatcher/dispatcher1-wrapper.js:105
← previousnext →1,601–1,700 of 2,475, ranked by callers