MCPcopy Index your code
hub / github.com/nodejs/node / onRequestUpgrade

Method onRequestUpgrade

deps/undici/src/lib/handler/retry-handler.js:123–125  ·  view source on GitHub ↗
(controller, statusCode, headers, socket)

Source from the content-addressed store, hash-verified

121 }
122
123 onRequestUpgrade (controller, statusCode, headers, socket) {
124 this.handler.onRequestUpgrade?.(controller, statusCode, headers, socket)
125 }
126
127 static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) {
128 const { statusCode, code, headers } = err

Callers

nothing calls this directly

Calls 1

onRequestUpgradeMethod · 0.65

Tested by

no test coverage detected