Package version:

Type Alias RawFileDownloadResponse

RawFileDownloadResponse: FileDownloadHeaders & {
    blobBody?: Promise<Blob>;
    readableStreamBody?: NodeJS.ReadableStream;
}

Contains response data for the download operation.

Type declaration

  • OptionalblobBody?: Promise<Blob>

    BROWSER ONLY

    The response body as a browser Blob. Always undefined in node.js.

  • OptionalreadableStreamBody?: NodeJS.ReadableStream

    NODEJS ONLY

    The response body as a node.js Readable stream. Always undefined in the browser.