(error)
| 2084 | assert(!this.aborted); |
| 2085 | assert(!this.completed); |
| 2086 | if (statusCode !== null) { |
| 2087 | __privateMethod(this, _publishUpgradeHeaders, publishUpgradeHeaders_fn).call(this, statusCode, headers, statusText); |
| 2088 | } |
| 2089 | const result = this[kHandler].onUpgrade(statusCode, headers, socket); |
| 2090 | if (!this.aborted) { |
| 2091 | this.completed = true; |
| 2092 | if (statusCode !== null) { |
| 2093 | __privateMethod(this, _publishUpgradeTrailers, publishUpgradeTrailers_fn).call(this); |
| 2094 | } |
| 2095 | } |
| 2096 | return result; |
| 2097 | } |
| 2098 | /** |
| 2099 | * @param {number} statusCode |
no test coverage detected