Interface HttpDownloadProgressEvent

A download progress event.

interface HttpDownloadProgressEvent {
    loaded: number;
    partialText?: string;
    total?: number;
    type: DownloadProgress;
}

Hierarchy (View Summary)

Properties

loaded: number

Number of bytes uploaded or downloaded.

partialText?: string

The partial response body as downloaded so far. Only present if the responseType was text.

total?: number

Total number of bytes to upload or download. Depending on the request or response

Progress event type is either upload or download.