basalt / drives/src / DriveContent
Interface: DriveContent
Defined in: drives/src/provider.ts:160
Bytes coming out of a provider. The caller must consume or destroy stream.
Properties
contentType?
> optional contentType?: string
Defined in: drives/src/provider.ts:163
What the transport said, if anything. Still only a hint — the bytes are sniffed.
size?
> optional size?: number
Defined in: drives/src/provider.ts:165
Exact length when the transport declared one.
stream
> stream: Readable
Defined in: drives/src/provider.ts:161