Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/undici
/ functions
Functions
2,421 in github.com/nodejs/undici
⨍
Functions
2,421
◇
Types & classes
604
Method
constructor
(state, { origin, handler, dispatch, newOrigin }, opts)
lib/interceptor/dns.js:395
Method
constructor
(_opts, { handler })
lib/interceptor/response-error.js:14
Method
constructor
({ maxSize, signal }, handler)
lib/interceptor/dump.js:14
Method
constructor
(handler, { skipStatusCodes = defaultSkipStatusCodes, skipErrorResponses = true } = {})
lib/interceptor/decompress.js:42
Method
constructor
(body)
lib/core/util.js:16
Method
constructor
(maxCachedSessions)
lib/core/connect.js:16
Method
constructor
* @param {string} key * @param {any} value * @param {number} index
lib/core/tree.js:24
Method
constructor
(message, options)
lib/core/errors.js:5
Method
constructor
(message)
lib/core/errors.js:22
Method
constructor
(message)
lib/core/errors.js:40
Method
constructor
(message)
lib/core/errors.js:58
Method
constructor
(message)
lib/core/errors.js:76
Method
constructor
(message)
lib/core/errors.js:94
Method
constructor
(message)
lib/core/errors.js:112
Method
constructor
(message)
lib/core/errors.js:130
Method
constructor
(message)
lib/core/errors.js:148
Method
constructor
(message, options)
lib/core/errors.js:166
Method
constructor
(message)
lib/core/errors.js:184
Method
constructor
(message)
lib/core/errors.js:202
Method
constructor
(message)
lib/core/errors.js:220
Method
constructor
(message)
lib/core/errors.js:238
Method
constructor
(message, socket)
lib/core/errors.js:256
Method
constructor
(message)
lib/core/errors.js:275
Method
constructor
(message)
lib/core/errors.js:293
Method
constructor
(message, code, data)
lib/core/errors.js:311
Method
constructor
(message)
lib/core/errors.js:329
Method
constructor
(message, code, { headers, data })
lib/core/errors.js:347
Method
constructor
(message, code, { headers, body })
lib/core/errors.js:368
Method
constructor
(cause, message, options = {})
lib/core/errors.js:389
Method
constructor
(cause, message, options = {})
lib/core/errors.js:408
Method
constructor
(message)
lib/core/errors.js:427
Method
constructor
(message, code)
lib/core/errors.js:444
Method
constructor
(message)
lib/core/errors.js:454
Method
constructor
(abort)
lib/core/request.js:61
Method
constructor
(origin, { path, method, body, headers, query, idempotent, blocking, upgrade,
lib/core/request.js:98
Method
constructor
(socket, options = {})
lib/core/socks5-client.js:67
Method
constructor
(opts, callback)
lib/api/api-connect.js:10
Method
constructor
()
lib/api/api-pipeline.js:24
Method
constructor
(resume)
lib/api/api-pipeline.js:50
Method
constructor
(opts, handler)
lib/api/api-pipeline.js:69
Method
constructor
(opts, factory, callback)
lib/api/api-stream.js:60
Method
constructor
* @param {object} opts * @param {(this: Readable, size: number) => void} opts.resume * @param {() => (void | null)} opts.abort * @param {stri
lib/api/readable.js:35
Method
constructor
(opts, callback)
lib/api/api-upgrade.js:11
Method
constructor
(opts, callback)
lib/api/api-request.js:12
Method
constructor
(mockDispatch)
lib/mock/mock-interceptor.js:25
Method
constructor
(opts, mockDispatches)
lib/mock/mock-interceptor.js:66
Method
constructor
(message)
lib/mock/mock-errors.js:11
Method
constructor
({ disableColors } = {})
lib/mock/pending-interceptors-formatter.js:13
Method
constructor
(origin, opts)
lib/mock/mock-pool.js:24
Method
constructor
(opts = {})
lib/mock/snapshot-agent.js:20
Method
constructor
(origin, opts)
lib/mock/mock-client.js:24
Method
constructor
* Creates a new SnapshotRecorder instance * @param {SnapshotRecorderOptions&SnapshotRecorderMatchOptions} [options={}] - Configuration options for
lib/mock/snapshot-recorder.js:272
Method
constructor
(opts = {})
lib/mock/mock-agent.js:32
Method
constructor
(requestInit = {})
lib/mock/mock-call-history.js:75
Method
constructor
()
lib/web/cache/cache.js:34
Method
constructor
()
lib/web/cache/cachestorage.js:15
Method
constructor
* @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object * @param {unknown} target * @param {'key' | 'value' | 'key+value'} kind
lib/web/fetch/util.js:749
Method
constructor
@param {zlib.ZlibOptions} [zlibOptions]
lib/web/fetch/util.js:1247
Method
constructor
(init)
lib/web/fetch/headers.js:200
Method
constructor
* @param {HeadersInit|Symbol} [init] * @returns
lib/web/fetch/headers.js:438
Method
constructor
(dispatcher)
lib/web/fetch/index.js:108
Method
constructor
(input, init = undefined)
lib/web/fetch/request.js:108
Method
constructor
(body = null, init = undefined)
lib/web/fetch/response.js:110
Method
constructor
(form = undefined)
lib/web/fetch/formdata.js:18
Method
constructor
* @param {Map<string, string>} extensions
lib/web/websocket/permessage-deflate.js:22
Method
constructor
* @param {Buffer|undefined} data
lib/web/websocket/frame.js:27
Method
constructor
* @param {import('./websocket').Handler} handler * @param {Map<string, string>|null} extensions * @param {{ maxPayloadSize?: number }} [options]
lib/web/websocket/receiver.js:53
Method
constructor
(socket)
lib/web/websocket/sender.js:28
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 {eventSourceSettings} [options.eventSourceSettings] * @par
lib/web/eventsource/eventsource-stream.js:131
Method
constructor
* Creates a new EventSource object. * @param {string} url * @param {EventSourceInit} [eventSourceInitDict={}] * @see https://html.spec.whatwg
lib/web/eventsource/eventsource.js:107
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:21
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
()
lib/handler/retry-handler.js:45
Method
constructor
(opts, { dispatch, handler })
lib/handler/retry-handler.js:60
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:302
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
← previous
next →
1,501–1,600 of 2,421, ranked by callers