[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/common/http/HttpProgressEvent [Back]  [Original]

HttpProgressEvent Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/common/http

HttpProgressEvent

interface
stable

Base interface for progress events.

Receiving raw progress events

On this page

    arrow_upward_alt Back to the top

    API

        
          interface HttpProgressEvent {  type: HttpEventType.UploadProgress | HttpEventType.DownloadProgress;  loaded: number;  total?: number | undefined;}
        
        

    type

    HttpEventType.UploadProgress | HttpEventType.DownloadProgress

    Progress event type is either upload or download.

    loaded

    number

    Number of bytes uploaded or downloaded.

    total

    number | undefined

    Total 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

    Web Proxy Viewer  |  New URL  |  Original Page