Interface HttpUploadProgressEvent

An upload progress event.

interface HttpUploadProgressEvent {
    loaded: number;
    total?: number;
    type: UploadProgress;
}

Hierarchy (View Summary)

Properties

Properties

loaded: number

Number of bytes uploaded or downloaded.

total?: number

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

Progress event type is either upload or download.