MCPcopy Create free account
hub / github.com/TanStack/ai / R2ObjectBody

Interface R2ObjectBody

examples/sandbox-cloudflare/worker-configuration.d.ts:2527–2535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2525 writeHttpMetadata(headers: Headers): void
2526}
2527interface R2ObjectBody extends R2Object {
2528 get body(): ReadableStream
2529 get bodyUsed(): boolean
2530 arrayBuffer(): Promise<ArrayBuffer>
2531 bytes(): Promise<Uint8Array>
2532 text(): Promise<string>
2533 json<T>(): Promise<T>
2534 blob(): Promise<Blob>
2535}
2536type R2Range =
2537 | {
2538 offset: number

Callers 31

generateSpeechMethod · 0.80
fsReadMethod · 0.80
finalizeMethod · 0.80
transformResponseMethod · 0.80
getVideoUrlMethod · 0.80
generateSpeechMethod · 0.80
imagePartToVeoImageFunction · 0.80
imagePartToGeminiPartMethod · 0.80
executeMethod · 0.65
fetchRawMistralStreamMethod · 0.65
errorMessageMethod · 0.65
transcribeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected