Skip to content

DownloadStreamOptions

DownloadStreamOptions = DownloadOptions & object

Defined in: packages/synapse-sdk/src/types.ts:221

Streaming download options

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.