(statusCode, headers, resume, statusText)
| 2044 | abort(this.error); |
| 2045 | } else { |
| 2046 | this.abort = abort; |
| 2047 | return this[kHandler].onConnect(abort); |
| 2048 | } |
| 2049 | } |
| 2050 | onResponseStarted() { |
| 2051 | var _a, _b; |
| 2052 | return (_b = (_a = this[kHandler]).onResponseStarted) == null ? void 0 : _b.call(_a); |
| 2053 | } |
| 2054 | onHeaders(statusCode, headers, resume, statusText) { |
| 2055 | assert(!this.aborted); |
| 2056 | assert(!this.completed); |
| 2057 | if (channels.headers.hasSubscribers) { |
| 2058 | channels.headers.publish({ request: this, response: { statusCode, headers, statusText } }); |
| 2059 | } |
| 2060 | try { |
no test coverage detected