(data: any, init?: ResponseInit)
| 200 | return Response.error() |
| 201 | } |
| 202 | static json(data: any, init?: ResponseInit) { |
| 203 | return Response.json(data, init as any) |
| 204 | } |
| 205 | static redirect(url: string, status: ResponseRedirectStatus) { |
| 206 | return Response.redirect(url, status) |
| 207 | } |