Response
constResponse: {(body?,init?):Response;prototype:Response;error:Response;json:Response;redirect:Response; }
Defined in: packages/@livestore/common-cf/dist/declare/cf-declare.d.ts:11
Type Declaration
Section titled “Type Declaration”Parameters
Section titled “Parameters”BodyInit | null
Returns
Section titled “Returns”prototype
Section titled “prototype”prototype:
Response
error()
Section titled “error()”error():
Response
Returns
Section titled “Returns”json()
Section titled “json()”json(
any,maybeInit?):Response
Parameters
Section titled “Parameters”any
maybeInit?
Section titled “maybeInit?”Returns
Section titled “Returns”redirect()
Section titled “redirect()”redirect(
url,status?):Response
Parameters
Section titled “Parameters”string
status?
Section titled “status?”number