(chunk)
| 2056 | assert(!this.completed); |
| 2057 | if (channels.headers.hasSubscribers) { |
| 2058 | channels.headers.publish({ request: this, response: { statusCode, headers, statusText } }); |
| 2059 | } |
| 2060 | try { |
| 2061 | return this[kHandler].onHeaders(statusCode, headers, resume, statusText); |
| 2062 | } catch (err) { |
| 2063 | this.abort(err); |
| 2064 | } |
| 2065 | } |
| 2066 | onData(chunk) { |
| 2067 | assert(!this.aborted); |
| 2068 | assert(!this.completed); |
| 2069 | try { |
| 2070 | return this[kHandler].onData(chunk); |
no test coverage detected