MCPcopy Index your code
hub / github.com/nodejs/node / onResponseEnd

Method onResponseEnd

deps/undici/src/lib/interceptor/dump.js:82–93  ·  view source on GitHub ↗
(controller, trailers)

Source from the content-addressed store, hash-verified

80 }
81
82 onResponseEnd (controller, trailers) {
83 if (this.#dumped) {
84 return
85 }
86
87 if (this.#controller.aborted === true) {
88 super.onResponseError(controller, this.reason)
89 return
90 }
91
92 super.onResponseEnd(controller, trailers)
93 }
94}
95
96function createDumpInterceptor (

Callers

nothing calls this directly

Calls 2

onResponseErrorMethod · 0.65
onResponseEndMethod · 0.65

Tested by

no test coverage detected