Response
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1613
This Fetch API interface represents the response to a request.
Extends
Section titled “Extends”Properties
Section titled “Properties”
readonly
body:null
|ReadableStream
<any
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1592
Inherited from
Section titled “Inherited from”bodyUsed
Section titled “bodyUsed”
readonly
bodyUsed:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1594
Inherited from
Section titled “Inherited from”
readonly
optional
cf:any
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1641
headers
Section titled “headers”
readonly
headers:Headers
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1633
readonly
ok:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1635
redirected
Section titled “redirected”
readonly
redirected:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1637
status
Section titled “status”
readonly
status:number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1629
statusText
Section titled “statusText”
readonly
statusText:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1631
type:
"default"
|"error"
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1643
readonly
url:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1639
webSocket
Section titled “webSocket”
readonly
webSocket:null
|WebSocket
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1640
Methods
Section titled “Methods”arrayBuffer()
Section titled “arrayBuffer()”arrayBuffer():
Promise
<ArrayBuffer
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1596
Returns
Section titled “Returns”Promise
<ArrayBuffer
>
Inherited from
Section titled “Inherited from”blob()
Section titled “blob()”blob():
Promise
<Blob
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1606
Returns
Section titled “Returns”Promise
<Blob
>
Inherited from
Section titled “Inherited from”bytes()
Section titled “bytes()”bytes():
Promise
<Uint8Array
<ArrayBufferLike
>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1598
Returns
Section titled “Returns”Promise
<Uint8Array
<ArrayBufferLike
>>
Inherited from
Section titled “Inherited from”clone()
Section titled “clone()”clone():
Response
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1627
Returns
Section titled “Returns”Response
formData()
Section titled “formData()”formData():
Promise
<FormData
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1604
Returns
Section titled “Returns”Promise
<FormData
>
Inherited from
Section titled “Inherited from”json()
Section titled “json()”json<
T
>():Promise
<T
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1602
Type Parameters
Section titled “Type Parameters”T
Returns
Section titled “Returns”Promise
<T
>
Inherited from
Section titled “Inherited from”text()
Section titled “text()”text():
Promise
<string
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:1600
Returns
Section titled “Returns”Promise
<string
>