Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
class
WSHandler {
Callers
nothing calls this directly
Calls
2
off
Method · 0.80
callback
Method · 0.80
Tested by
no test coverage detected