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

Method onResponseStart

benchmarks/benchmark-https.js:116–118  ·  view source on GitHub ↗
(controller, statusCode, headers, statusText)

Source from the content-addressed store, hash-verified

114 }
115
116 onResponseStart (controller, statusCode, headers, statusText) {
117 this.dst.on('drain', () => controller.resume())
118 }
119
120 onResponseData (controller, chunk) {
121 if (this.dst.write(chunk) === false) {

Callers

nothing calls this directly

Calls 2

resumeMethod · 0.65
onMethod · 0.45

Tested by

no test coverage detected