HttpDownloadProgressEvent

From Get docs
< @angular/common‎ | httpAngular/docs/8/api/common/http/httpdownloadprogressevent


HttpDownloadProgressEvent

interface

A download progress event.

interface HttpDownloadProgressEvent extends HttpProgressEvent {
  type: HttpEventType.DownloadProgress
  partialText?: string

  // inherited from common/http/HttpProgressEvent
  type: HttpEventType.DownloadProgress | HttpEventType.UploadProgress
  loaded: number
  total?: number
}

Properties

Property Description
type: HttpEventType.DownloadProgress
partialText?: string

The partial response body as downloaded so far.

Only present if the responseType was text.


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/common/http/HttpDownloadProgressEvent