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

Method onRequestStart

lib/handler/redirect-handler.js:42–44  ·  view source on GitHub ↗
(controller, context)

Source from the content-addressed store, hash-verified

40 }
41
42 onRequestStart (controller, context) {
43 this.handler.onRequestStart?.(controller, { ...context, history: this.history })
44 }
45
46 onRequestUpgrade (controller, statusCode, headers, socket) {
47 this.handler.onRequestUpgrade?.(controller, statusCode, headers, socket)

Callers

nothing calls this directly

Calls 1

onRequestStartMethod · 0.65

Tested by

no test coverage detected