• Download a file from a given URL as a blob

    Parameters

    • url: string

      URL of the file to download as a blob

    • Optional options: RequestInit

      Additional fetch-configuration to apply during the download

    Returns Promise<Blob>

    Returns a promise with the downloaded file as a blob-object

Generated using TypeDoc