augmenttoolkit / node_modules /@nestjs /common /file-stream /interfaces /streamable-options.interface.d.ts
Leon4gr45's picture
Include updated package-lock.json (part 9)
cd6720a verified
Raw
History Blame Contribute Delete
585 Bytes
/**
* Options for `StreamableFile`
*
* @see [Streaming files](https://docs.nestjs.com/techniques/streaming-files)
*
* @publicApi
*/
export interface StreamableFileOptions {
/**
* The value that will be used for the `Content-Type` response header.
* @default `"application/octet-stream"`
*/
type?: string;
/**
* The value that will be used for the `Content-Disposition` response header.
*/
disposition?: string | string[];
/**
* The value that will be used for the `Content-Length` response header.
*/
length?: number;
}