(_controller, trailers)
| 206 | } |
| 207 | |
| 208 | onResponseEnd (_controller, trailers) { |
| 209 | const { res } = this |
| 210 | |
| 211 | removeSignal(this) |
| 212 | |
| 213 | if (!res) { |
| 214 | return |
| 215 | } |
| 216 | |
| 217 | if (trailers && typeof trailers === 'object') { |
| 218 | this.trailers = trailers |
| 219 | } |
| 220 | |
| 221 | res.end() |
| 222 | } |
| 223 | |
| 224 | onResponseError (_controller, err) { |
| 225 | const { res, callback, opaque, body } = this |
nothing calls this directly
no test coverage detected