MCPcopy
hub / github.com/nodejs/undici / onRequestUpgrade

Method onRequestUpgrade

lib/handler/retry-handler.js:159–161  ·  view source on GitHub ↗
(_controller, statusCode, headers, socket)

Source from the content-addressed store, hash-verified

157 }
158
159 onRequestUpgrade (_controller, statusCode, headers, socket) {
160 this.handler.onRequestUpgrade?.(this.controllerProxy, statusCode, headers, socket)
161 }
162
163 static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) {
164 const { statusCode, code, headers } = err

Callers

nothing calls this directly

Calls 1

onRequestUpgradeMethod · 0.65

Tested by

no test coverage detected