MCPcopy Create free account
hub / github.com/fontsource/fontsource / R2ObjectBody

Interface R2ObjectBody

website/worker-configuration.d.ts:2054–2062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2052 writeHttpMetadata(headers: Headers): void;
2053}
2054interface R2ObjectBody extends R2Object {
2055 get body(): ReadableStream;
2056 get bodyUsed(): boolean;
2057 arrayBuffer(): Promise<ArrayBuffer>;
2058 bytes(): Promise<Uint8Array>;
2059 text(): Promise<string>;
2060 json<T>(): Promise<T>;
2061 blob(): Promise<Blob>;
2062}
2063type R2Range = {
2064 offset: number;
2065 length?: number;

Callers 24

writeDownloadFunction · 0.65
open-graph.test.tsFile · 0.65
registry.test.tsFile · 0.65
cdn.test.tsFile · 0.65
getArchiveFunction · 0.65
addFilesFunction · 0.65
runConversionFunction · 0.65
putObjectFunction · 0.65
readBuildErrorMessageFunction · 0.65
network.tsFile · 0.65
metadata.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected