(data: any)
| 20 | } |
| 21 | |
| 22 | json(data: any) { |
| 23 | const nextData = JSON.stringify(data) |
| 24 | |
| 25 | this.#headers.set('Content-Type', 'application/json') |
| 26 | |
| 27 | return new Response(nextData, this.makeResponseOptions()) |
| 28 | } |
| 29 | |
| 30 | send(data: any) { |
| 31 | // if (data instanceof Stream) { |
no test coverage detected