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

Method onRequestStart

lib/interceptor/dump.js:30–35  ·  view source on GitHub ↗
(controller, context)

Source from the content-addressed store, hash-verified

28 }
29
30 onRequestStart (controller, context) {
31 controller.abort = this.#abort.bind(this)
32 this.#controller = controller
33
34 return super.onRequestStart(controller, context)
35 }
36
37 onResponseStart (controller, statusCode, headers, statusMessage) {
38 const contentLength = headers['content-length']

Callers

nothing calls this directly

Calls 1

onRequestStartMethod · 0.65

Tested by

no test coverage detected