MCPcopy Create free account
hub / github.com/nodejs/undici / onRequestUpgrade

Method onRequestUpgrade

lib/handler/cache-handler.js:184–186  ·  view source on GitHub ↗
(controller, statusCode, headers, socket)

Source from the content-addressed store, hash-verified

182 }
183
184 onRequestUpgrade (controller, statusCode, headers, socket) {
185 this.#handler.onRequestUpgrade?.(controller, statusCode, headers, socket)
186 }
187
188 /**
189 * @param {import('../../types/dispatcher.d.ts').default.DispatchController} controller

Callers

nothing calls this directly

Calls 1

onRequestUpgradeMethod · 0.65

Tested by

no test coverage detected