# DownloadStreamOptions

> **DownloadStreamOptions** = [`DownloadOptions`](/reference/filoz/synapse-sdk/synapse/type-aliases/downloadoptions/) & `object`

Defined in: [packages/synapse-sdk/src/types.ts:221](https://github.com/FilOzone/synapse-sdk/blob/5989c4b03ed2fe4cf8b1ef29efe1d4ff1ad4c7bc/packages/synapse-sdk/src/types.ts#L221)

Streaming download options

## Type Declaration

### validate?

> `optional` **validate?**: `boolean`

Whether to validate the PieceCID of the streamed bytes. Defaults to `true`.
When enabled, the stream errors after the last chunk if the PieceCID doesn't match.