Variable Response

Response: {
    prototype: Response;
    error() => Response;
    redirect(url, status?) => Response;
    new (body?, init?): Response;
}

Type declaration

  • prototype: Response
  • error:function
    • Returns Response

  • redirect:function
    • Parameters

      • url: string | URL
      • Optional status: number

      Returns Response

Generated using TypeDoc