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

Method onRequestUpgrade

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

Source from the content-addressed store, hash-verified

82 }
83
84 onRequestUpgrade (controller, statusCode, headers, socket) {
85 this.#handler.onRequestUpgrade?.(controller, statusCode, headers, socket)
86 }
87
88 /**
89 * @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