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