Interface: StorageDownload
Interface: StorageDownload
Section titled “Interface: StorageDownload”Defined in: server/src/storage/storage.ts:25
Properties
Section titled “Properties”
readonlymeta:StorageObjectMeta
Defined in: server/src/storage/storage.ts:26
readonlybody:ReadableStream<Uint8Array<ArrayBufferLike>>
Defined in: server/src/storage/storage.ts:27
writeHttpMetadata?
Section titled “writeHttpMetadata?”
readonlyoptionalwriteHttpMetadata?: (headers) =>void
Defined in: server/src/storage/storage.ts:33
Apply adapter-native HTTP metadata to a Headers (e.g.
R2Object.writeHttpMetadata(headers)). Optional so non-R2 adapters
can skip it.
Parameters
Section titled “Parameters”headers
Section titled “headers”Headers
Returns
Section titled “Returns”void