(_, statusCode, headers, socket)
| 286 | if (reason !== undefined) c.abort(reason) |
| 287 | }, |
| 288 | onRequestUpgrade(_, statusCode, headers, socket) { |
| 289 | done() |
| 290 | const body = new UpgradeResponseBody(undefined) |
| 291 | body.push(null) |
| 292 | // undici has already pushed back the bytes past the response head |
| 293 | resume(Effect.succeed({ statusCode, headers, body, upgraded: takeOver(socket, undefined, signal) })) |
| 294 | }, |
| 295 | onResponseStart(c, statusCode, headers) { |
| 296 | if (statusCode < 200) return |
| 297 | body = new UpgradeResponseBody(c) |