Stone.js API
    Preparing search index...
    • Create a 200(OK) file OutgoingHttpResponse.

      Parameters

      • file: string | File

        The file to send as the response.

      • statusCode: number = HTTP_OK

        The status code of the response.

      • headers: HeadersType = {}

        The headers for the response.

      • contentDispositionType: string = null

        The content disposition type (e.g., "inline" or "attachment").

      • autoEtag: boolean = false

        Whether to automatically generate an ETag.

      • autoLastModified: boolean = true

        Whether to automatically set the Last-Modified header.

      Returns BinaryFileResponse

      A new instance of BinaryFileResponse.