HttpDownloadProgressEvent
interface
stable
A download progress event.
API
interface HttpDownloadProgressEvent extends HttpProgressEvent { type: HttpEventType.DownloadProgress; partialText?: string | undefined; override loaded: number; override total?: number | undefined;}
partialText
string | undefinedThe partial response body as downloaded so far.
Only present if the responseType was text.
loaded
numberNumber of bytes uploaded or downloaded.
total
number | undefinedTotal number of bytes to upload or download. Depending on the request or response, this may not be computable and thus may not be present.
Jump to details