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

Method onRequestUpgrade

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

Source from the content-addressed store, hash-verified

174 }
175
176 onRequestUpgrade (controller, statusCode, headers, socket) {
177 this.#handler.onRequestUpgrade?.(controller, statusCode, headers, socket)
178 }
179
180 /**
181 * @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