Interface: DownloadOptions
Properties
cancellationToken
readonlycancellationToken:CancellationToken
headers?
readonlyoptionalheaders?:OutgoingHttpHeaders|null
maxSize?
readonlyoptionalmaxSize?:number|null
The most bytes a download accepts (electron-updater sets it to the size of the file in the update info for a full download): once
more arrive, the download fails with ERR_UPDATER_DOWNLOAD_SIZE_EXCEEDED and its request is aborted. Applies only when it is a number
of at least 0: any other value, such as a size of another type read from a manifest, sets no limit of its own.
onProgress?
optionalonProgress?: (progress) =>void
Parameters
progress
Returns
void
ownHeaders?
readonlyoptionalownHeaders?:OutgoingHttpHeaders|null
The request's own headers, part of headers too: see ApiRequestOptions.ownHeaders.
sha2?
readonlyoptionalsha2?:string|null
sha512?
readonlyoptionalsha512?:string|null