R2ObjectBody
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2047
Extends
Section titled “Extends”Properties
Section titled “Properties”checksums
Section titled “checksums”
readonly
checksums:R2Checksums
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2038
Inherited from
Section titled “Inherited from”customMetadata?
Section titled “customMetadata?”
readonly
optional
customMetadata:Record
<string
,string
>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2041
Inherited from
Section titled “Inherited from”
readonly
etag:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2036
Inherited from
Section titled “Inherited from”httpEtag
Section titled “httpEtag”
readonly
httpEtag:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2037
Inherited from
Section titled “Inherited from”httpMetadata?
Section titled “httpMetadata?”
readonly
optional
httpMetadata:R2HTTPMetadata
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2040
Inherited from
Section titled “Inherited from”
readonly
key:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2033
Inherited from
Section titled “Inherited from”range?
Section titled “range?”
readonly
optional
range:R2Range
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2042
Inherited from
Section titled “Inherited from”
readonly
size:number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2035
Inherited from
Section titled “Inherited from”ssecKeyMd5?
Section titled “ssecKeyMd5?”
readonly
optional
ssecKeyMd5:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2044
Inherited from
Section titled “Inherited from”storageClass
Section titled “storageClass”
readonly
storageClass:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2043
Inherited from
Section titled “Inherited from”uploaded
Section titled “uploaded”
readonly
uploaded:Date
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2039
Inherited from
Section titled “Inherited from”version
Section titled “version”
readonly
version:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2034
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get body():
ReadableStream
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2048
Returns
Section titled “Returns”bodyUsed
Section titled “bodyUsed”Get Signature
Section titled “Get Signature”get bodyUsed():
boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2049
Returns
Section titled “Returns”boolean
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:2050
Returns
Section titled “Returns”Promise
<ArrayBuffer
>
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:2054
Returns
Section titled “Returns”Promise
<Blob
>
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:2051
Returns
Section titled “Returns”Promise
<Uint8Array
<ArrayBufferLike
>>
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:2053
Type Parameters
Section titled “Type Parameters”T
Returns
Section titled “Returns”Promise
<T
>
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:2052
Returns
Section titled “Returns”Promise
<string
>
writeHttpMetadata()
Section titled “writeHttpMetadata()”writeHttpMetadata(
headers
):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2045
Parameters
Section titled “Parameters”headers
Section titled “headers”Returns
Section titled “Returns”void