R2ObjectBody
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2040
Extends
Section titled “Extends”Properties
Section titled “Properties”checksums
Section titled “checksums”
readonlychecksums:R2Checksums
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2031
Inherited from
Section titled “Inherited from”customMetadata?
Section titled “customMetadata?”
readonlyoptionalcustomMetadata:Record<string,string>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2034
Inherited from
Section titled “Inherited from”
readonlyetag:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2029
Inherited from
Section titled “Inherited from”httpEtag
Section titled “httpEtag”
readonlyhttpEtag:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2030
Inherited from
Section titled “Inherited from”httpMetadata?
Section titled “httpMetadata?”
readonlyoptionalhttpMetadata:R2HTTPMetadata
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2033
Inherited from
Section titled “Inherited from”
readonlykey:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2026
Inherited from
Section titled “Inherited from”range?
Section titled “range?”
readonlyoptionalrange:R2Range
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2035
Inherited from
Section titled “Inherited from”
readonlysize:number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2028
Inherited from
Section titled “Inherited from”ssecKeyMd5?
Section titled “ssecKeyMd5?”
readonlyoptionalssecKeyMd5:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2037
Inherited from
Section titled “Inherited from”storageClass
Section titled “storageClass”
readonlystorageClass:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2036
Inherited from
Section titled “Inherited from”uploaded
Section titled “uploaded”
readonlyuploaded:Date
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2032
Inherited from
Section titled “Inherited from”version
Section titled “version”
readonlyversion:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2027
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2041
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2042
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2043
Returns
Section titled “Returns”Promise<ArrayBuffer>
blob()
Section titled “blob()”blob():
Promise<Blob>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2047
Returns
Section titled “Returns”Promise<Blob>
bytes()
Section titled “bytes()”bytes():
Promise<Uint8Array<ArrayBufferLike>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2044
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
json()
Section titled “json()”json<
T>():Promise<T>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2046
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.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2045
Returns
Section titled “Returns”Promise<string>
writeHttpMetadata()
Section titled “writeHttpMetadata()”writeHttpMetadata(
headers):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2038
Parameters
Section titled “Parameters”headers
Section titled “headers”Returns
Section titled “Returns”void