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

Method onResponseError

docs/examples/proxy/proxy.js:89–94  ·  view source on GitHub ↗
(_controller, err)

Source from the content-addressed store, hash-verified

87 }
88
89 onResponseError (_controller, err) {
90 this.res.off('close', this.abort)
91 this.res.off('drain', this.resume)
92
93 this.callback(err)
94 }
95}
96
97class WSHandler {

Callers

nothing calls this directly

Calls 2

offMethod · 0.80
callbackMethod · 0.80

Tested by

no test coverage detected