Skip to main content

Interface: StreamOutcome

Defined in: stream.ts:30

What a finished stream leaves behind, for the cache and the stats.

Properties​

bytes​

bytes: Uint8Array

Defined in: stream.ts:34

Everything received, in order, trimmed to what arrived.


end​

end: StreamEnd

Defined in: stream.ts:35


offset​

offset: number | undefined

Defined in: stream.ts:32

File offset of bytes[0]; undefined for a suffix of an object of unknown size.


size?​

optional size?: number

Defined in: stream.ts:37

The object's size when a response revealed it.


validator?​

optional validator?: string

Defined in: stream.ts:39

The response's ETag, or Last-Modified without one.