Skip to content

covenix / RangeStreamBody

Interface: RangeStreamBody ​

Defined in: src/range-file-response.ts:21

A streamed, range-capable body: its total size plus a range-aware source.

Properties ​

size ​

size: number

Defined in: src/range-file-response.ts:23

Total size of the body in bytes (needed to compute Content-Range).


stream ​

stream: RangeStreamSource

Defined in: src/range-file-response.ts:25

Returns a stream of the full body, or of range when one is given.