(this: HttpServerResponse)
| 1465 | [TypeId]: TypeId, |
| 1466 | [ErrorReporter.ignore]: true, |
| 1467 | toJSON(this: HttpServerResponse) { |
| 1468 | return { |
| 1469 | _id: "HttpServerResponse", |
| 1470 | status: this.status, |
| 1471 | statusText: this.statusText, |
| 1472 | headers: redact(this.headers), |
| 1473 | cookies: this.cookies.toJSON(), |
| 1474 | body: this.body.toJSON() |
| 1475 | } |
| 1476 | } |
| 1477 | } |
| 1478 | |
| 1479 | const makeResponse = (options: { |