MCPcopy Create free account

hub / github.com/nodejs/undici / functions

Functions2,421 in github.com/nodejs/undici

Functionreset
* Reset FastTimers. * Exported for testing purposes only. * Marking as deprecated to discourage any use outside of testing. * @deprecated
lib/util/timers.js:413
MethodresetCallCounts
* Resets call counts for all snapshots (useful for test cleanup) * @returns {void}
lib/mock/snapshot-recorder.js:501
MethodresolveReplyCallbackData
(resolvedData)
lib/mock/mock-interceptor.js:127
Functionresume
()
lib/dispatcher/client-h1.js:899
Functionresume
* @returns {void}
lib/dispatcher/client-h2.js:327
Functionresume
()
lib/interceptor/cache.js:251
Functionresume
()
test/retry-handler-controller-proxy.js:32
Functionresume
()
test/issue-4780.js:12
Functionresume
()
test/issue-5356.js:36
Functionresume
()
test/readable.js:11
Methodresume
()
lib/dispatcher/client-h1.js:280
Methodresume
()
lib/core/request.js:69
Methodresume
()
lib/mock/snapshot-agent.js:207
Methodresume
()
lib/handler/retry-handler.js:50
Methodresume
()
test/redirect-pipeline.js:18
Methodresume
()
test/http2-late-data.js:45
Methodresume
()
test/decorator-handler.js:70
Methodresume
()
test/http2-response-after-completion.js:61
Methodrouter
(request, res)
test/node-fetch/utils/server.js:48
Methodsend
* @see https://websockets.spec.whatwg.org/#dom-websocket-send * @param {NodeJS.TypedArray|ArrayBuffer|Blob|string} data
lib/web/websocket/websocket.js:247
Functionset
(target, p, value)
lib/web/fetch/response.js:415
Functionset
(target, prop, value)
test/install.js:14
Functionset
(origin: string, records: Interceptors.DNSInterceptorOriginRecords | null, options: { ttl: number })
test/types/dns-interceptor.test-d.ts:12
Functionset
(origin, records)
test/interceptors/dns.js:1840
Methodset
* @see https://fetch.spec.whatwg.org/#concept-header-list-set * @param {string} name * @param {string} value * @param {boolean} isLowerCase
lib/web/fetch/headers.js:266
Methodset
(name, value, filename = undefined)
lib/web/fetch/formdata.js:121
FunctionsetFastTimeout
* The setFastTimeout() method sets a fastTimer which executes a function once * the timer expires. * @param {Function} callback A function to be
lib/util/timers.js:375
MethodsetFormDataState
* @param {FormData} formData * @param {any[]} newState
lib/web/fetch/formdata.js:198
MethodsetHeadersGuard
(o, guard)
lib/web/fetch/headers.js:637
MethodsetHeadersList
* @param {Headers} target * @param {HeadersList} list
lib/web/fetch/headers.js:652
MethodsetRequestDispatcher
* @param {Request} request * @param {import('../../dispatcher/dispatcher')} newDispatcher
lib/web/fetch/request.js:863
MethodsetRequestHeaders
* @param {Request} request * @param {Headers} newHeaders
lib/web/fetch/request.js:871
MethodsetRequestSignal
* @param {Request} request * @param {AbortSignal} newSignal
lib/web/fetch/request.js:847
MethodsetRequestState
* @param {Request} request * @param {any} newState
lib/web/fetch/request.js:886
MethodsetResponseHeaders
* @param {Response} response * @param {Headers} newHeaders
lib/web/fetch/response.js:286
MethodsetResponseState
* @param {Response} response * @param {any} newState
lib/web/fetch/response.js:301
MethodsetTimeout
()
test/http2-response-after-completion.js:59
Methodshift
@returns {T|null}
lib/dispatcher/fixed-queue.js:91
MethodshouldRetry
(passedErr)
lib/handler/retry-handler.js:137
Methodsignal
()
lib/web/fetch/request.js:754
Functionsize
()
test/types/dns-interceptor.test-d.ts:6
Methodsize
* Get the current size of the cache in bytes * @returns {number} The current size of the cache in bytes
lib/cache/memory-cache-store.js:77
Methodsize
* Counts the number of rows in the cache * @returns {Number}
lib/cache/sqlite-cache-store.js:380
Methodsize
* Gets snapshot count * @return {number} - Number of recorded snapshots
lib/mock/snapshot-recorder.js:493
Methodsource
()
lib/web/websocket/events.js:50
FunctionsplitData
(socket, data)
test/fuzzing/server/server-fuzz-split-data.js:3
Functionstart
()
lib/core/util.js:657
Functionstart
(controller)
lib/web/fetch/index.js:2053
Functionstart
(c)
lib/web/fetch/body.js:57
Functionstart
(controller)
test/mock-agent.js:3513
Functionstart
(controller)
test/fetch/401-statuscode-no-infinite-loop.js:37
Functionstart
(c)
test/fetch/client-fetch.js:142
Functionstart
(controller)
test/fetch/response.js:170
Functionstart
()
test/fetch/fire-and-forget.js:56
Methodstart
(controller)
test/utils/stream.js:31
Methodstats
()
lib/dispatcher/pool-base.js:120
Methodstats
()
lib/dispatcher/client.js:364
Methodstats
()
lib/dispatcher/agent.js:161
Methodstatus
()
lib/web/fetch/response.js:182
Methodstatus
()
docs/examples/proxy/proxy.js:275
Methodstatus
()
docs/examples/proxy/proxy.js:305
MethodstatusCode
()
docs/examples/proxy/proxy.js:279
MethodstatusCode
()
docs/examples/proxy/proxy.js:309
MethodstatusText
()
lib/web/fetch/response.js:199
MethodstreamCachedBody
()
lib/handler/cache-handler.js:336
Methodtake
(limit: number)
types/fetch.d.ts:72
Functiontext
()
lib/web/fetch/body.js:329
Functiontext
()
test/fetch/request.js:176
Functiontext
()
test/fetch/response.js:101
Methodtext
* Consumes and returns the body as a string. * * @see https://fetch.spec.whatwg.org/#dom-body-text * @returns {Promise<string>}
lib/api/readable.js:175
FunctiontextStream
()
lib/web/fetch/body.js:398
Functiontick
* Trigger the onTick function to process the fastTimers array. * Exported for testing purposes only. * Marking as deprecated to discourage any u
lib/util/timers.js:402
MethodtoArray
()
types/fetch.d.ts:78
MethodtoString
()
docs/examples/proxy/proxy.js:297
Functiontransform
(chunk, encoding, callback)
test/client-pipeline.js:863
Methodtransform
(chunk, _enc, cb)
lib/mock/pending-interceptors-formatter.js:15
Methodtype
()
lib/web/fetch/response.js:147
Methodtype
()
test/request-crlf.js:54
FunctionuncaughtExceptionHandler
(err)
test/websocket/stream/readable-cancel-before-clean-close.js:11
FunctionuncaughtHandler
(err)
test/http2-dispatcher.js:1115
FunctionuncaughtHandler
(err)
test/sync-error-in-callback.js:32
Methoduncork
()
test/http2-response-after-completion.js:66
Methodunref
()
test/http2-invalid-session.js:41
Methodunref
()
test/http2-late-data.js:39
Methodunref
()
test/http2-late-data.js:74
Methodunref
()
test/http2-ping-errors.js:40
Methodunref
()
test/http2-ping-errors.js:59
Methodunref
()
test/http2-window-size.js:26
Methodunref
()
test/http2-window-size.js:45
Methodunref
()
test/http2-response-after-completion.js:55
Methodunref
()
test/http2-response-after-completion.js:90
Methodupstreams
()
lib/dispatcher/balanced-pool.js:153
Methodurl
()
lib/web/fetch/request.js:610
Methodurl
()
lib/web/fetch/response.js:155
Methodurl
()
lib/web/websocket/websocket.js:354
Methodurl
()
lib/web/websocket/stream/websocketstream.js:170
Methodurl
* Returns the URL providing the event stream. * @readonly * @returns {string}
lib/web/eventsource/eventsource.js:198
FunctionvalidateBoundary
* @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-boundary * @param {string} boundary
lib/web/fetch/formdata-parser.js:30
Functionvalue
()
test/webidl/helpers.js:51
MethodwasClean
()
lib/web/websocket/events.js:119
← previousnext →2,301–2,400 of 2,421, ranked by callers