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
Function
onError
(err)
lib/api/api-stream.js:45
Function
onError
(err)
lib/web/fetch/index.js:2320
Function
onError
(err)
benchmarks/websocket-benchmark.mjs:55
Function
onFinish
()
lib/api/api-stream.js:46
Function
onFrameError
(type, code)
lib/dispatcher/client-h2.js:1470
Function
onHttp2FrameError
(type, code, id)
lib/dispatcher/client-h2.js:599
Function
onHttp2RemoteSettings
(settings)
lib/dispatcher/client-h2.js:541
Function
onHttp2SendPing
(session)
lib/dispatcher/client-h2.js:562
Function
onHttp2SessionClose
()
lib/dispatcher/client-h2.js:681
Function
onHttp2SessionError
(err)
lib/dispatcher/client-h2.js:587
Function
onHttp2SessionGoAway
* This is the root cause of #3011 * We need to handle GOAWAY frames properly, and trigger the session close * along with the socket right away * *
lib/dispatcher/client-h2.js:620
Function
onHttp2SessionIdleTimeout
(session)
lib/dispatcher/client-h2.js:515
Function
onHttp2SocketClose
()
lib/dispatcher/client-h2.js:714
Function
onHttp2SocketEnd
()
lib/dispatcher/client-h2.js:759
Function
onHttp2SocketError
(err)
lib/dispatcher/client-h2.js:747
Function
onHttpSocketClose
()
lib/dispatcher/client-h1.js:1002
Function
onHttpSocketEnd
()
lib/dispatcher/client-h1.js:988
Function
onHttpSocketError
(err)
lib/dispatcher/client-h1.js:963
Function
onHttpSocketReadable
()
lib/dispatcher/client-h1.js:984
Function
onMessage
(message)
test/interceptors/deduplicate.js:462
Function
onNoStreamsTimeout
(session)
lib/dispatcher/client-h2.js:456
Function
onOpen
()
benchmarks/websocket-benchmark.mjs:50
Function
onParserTimeout
(parserWeakRef)
lib/dispatcher/client-h1.js:833
Function
onPing
(err, duration)
lib/dispatcher/client-h2.js:573
Function
onPipeData
(chunk)
lib/dispatcher/client-h2.js:1652
Function
onRequest
(err, data)
test/client-write-max-listeners.js:30
Function
onRequestSent
()
test/mock-agent.js:259
Function
onRequestSent
()
test/node-test/client-dispatch.js:700
Method
onRequestSent
()
lib/dispatcher/dispatcher1-wrapper.js:54
Method
onRequestSent
()
lib/core/request.js:295
Function
onRequestStart
()
lib/interceptor/cache.js:430
Function
onRequestStart
(controller)
lib/web/fetch/index.js:2221
Function
onRequestStart
()
test/http2-body.js:214
Function
onRequestStart
()
test/pool.js:767
Function
onRequestStart
(controller)
test/retry-handler-controller-proxy.js:72
Function
onRequestStart
()
test/http2-late-data.js:139
Function
onRequestStart
()
test/socks5-proxy-agent.js:141
Function
onRequestStart
()
test/mock-pool.js:64
Function
onRequestStart
()
test/http2-dispatcher.js:646
Function
onRequestStart
()
test/retry-handler2.js:189
Function
onRequestStart
()
test/retry-handler.js:65
Function
onRequestStart
()
test/client-timeout.js:86
Function
onRequestStart
()
test/mock-client.js:63
Function
onRequestStart
()
test/mock-agent.js:197
Function
onRequestStart
()
test/http2-response-after-completion.js:150
Function
onRequestStart
(controller)
test/node-test/client-abort.js:88
Function
onRequestStart
()
test/node-test/client-dispatch.js:125
Function
onRequestStart
()
test/node-test/agent.js:321
Function
onRequestStart
()
test/interceptors/deduplicate.js:1277
Function
onRequestStart
(ctrl)
test/interceptors/decompress.js:863
Method
onRequestStart
(controller, context)
lib/dispatcher/dispatcher1-wrapper.js:14
Method
onRequestStart
(controller, context)
lib/interceptor/response-error.js:22
Method
onRequestStart
(controller, context)
lib/interceptor/dump.js:30
Method
onRequestStart
(abort, context)
lib/core/request.js:309
Method
onRequestStart
(controller, context)
lib/api/api-connect.js:35
Method
onRequestStart
(controller, context)
lib/api/api-pipeline.js:153
Method
onRequestStart
(controller, context)
lib/api/api-stream.js:117
Method
onRequestStart
(controller, context)
lib/api/api-upgrade.js:37
Method
onRequestStart
(controller, context)
lib/api/api-request.js:83
Method
onRequestStart
(controller, context)
lib/mock/snapshot-agent.js:145
Method
onRequestStart
(...args)
lib/handler/decorator-handler.js:21
Method
onRequestStart
(controller, context)
lib/handler/redirect-handler.js:42
Method
onRequestStart
(_, context)
lib/handler/cache-revalidation-handler.js:53
Method
onRequestStart
(controller, context)
lib/handler/retry-handler.js:167
Method
onRequestStart
(controller, context)
lib/handler/cache-handler.js:170
Method
onRequestStart
* @param {import('../../types/dispatcher.d.ts').default.DispatchController} controller * @param {any} context
lib/handler/deduplication-handler.js:147
Method
onRequestStart
(controller, context)
test/decorator-handler.js:36
Method
onRequestStart
()
test/node-test/agent.js:759
Method
onRequestStart
(controller)
docs/examples/proxy/proxy.js:52
Method
onRequestStart
(controller)
docs/examples/proxy/proxy.js:113
Method
onRequestStart
(controller)
benchmarks/benchmark.js:143
Method
onRequestStart
(controller)
benchmarks/post-benchmark.js:136
Method
onRequestStart
(controller)
benchmarks/benchmark-https.js:112
Method
onRequestStart
(controller)
benchmarks/benchmark-http2.js:96
Function
onRequestUpgrade
()
lib/interceptor/cache.js:431
Function
onRequestUpgrade
(controller, status, headers, socket)
lib/web/fetch/index.js:2395
Function
onRequestUpgrade
(controller, statusCode, headers, socket)
test/retry-handler-controller-proxy.js:75
Function
onRequestUpgrade
(_controller, statusCode, _headers, socket)
test/node-test/client-dispatch.js:396
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/dispatcher/dispatcher1-wrapper.js:18
Method
onRequestUpgrade
(statusCode, headers, socket)
lib/core/request.js:371
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/api/api-connect.js:51
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/api/api-upgrade.js:53
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/mock/snapshot-agent.js:149
Method
onRequestUpgrade
(...args)
lib/handler/decorator-handler.js:25
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/handler/redirect-handler.js:46
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/handler/cache-revalidation-handler.js:58
Method
onRequestUpgrade
(_controller, statusCode, headers, socket)
lib/handler/retry-handler.js:179
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
lib/handler/cache-handler.js:176
Method
onRequestUpgrade
* @param {import('../../types/dispatcher.d.ts').default.DispatchController} controller * @param {number} statusCode * @param {import('../../type
lib/handler/deduplication-handler.js:158
Method
onRequestUpgrade
(controller, statusCode, headers, socket)
test/decorator-handler.js:44
Method
onRequestUpgrade
(controller, statusCode, _headers, socket)
docs/examples/proxy/proxy.js:122
Function
onResponse
(headers)
lib/dispatcher/client-h2.js:1336
Function
onResponseData
()
lib/interceptor/cache.js:433
Function
onResponseData
(controller, chunk)
lib/web/fetch/index.js:2336
Function
onResponseData
(_controller, chunk)
test/http2-body.js:226
Function
onResponseData
(_controller, chunk)
test/pool.js:772
Function
onResponseData
()
test/http2-late-data.js:141
Function
onResponseData
()
test/socks5-proxy-agent.js:143
Function
onResponseData
()
test/mock-pool.js:66
Function
onResponseData
()
test/http2-dispatcher.js:658
← previous
next →
1,901–2,000 of 2,421, ranked by callers