The URL of the file to download.
OptionalrequestInit: DownloadRequestInitOptional request initialization parameters.
A task that can be aborted and contains the result of the download.
Downloads a file from a URL and saves it to the specified path.
The URL of the file to download.
The path where the downloaded file will be saved.
OptionalrequestInit: DownloadRequestInitOptional request initialization parameters.
A task that can be aborted and contains the result of the download.
Downloads a file from a URL and saves it to a temporary file. The returned response will contain the temporary file path.
This API is built on
@happy-ts/fetch-t.timeoutandonProgressvia DownloadRequestInitkeepEmptyBodyto allow saving empty responses