On this page
HttpEventType
enum
| npm Package | @angular/common |
|---|---|
| Module | import { HttpEventType } from '@angular/common/http'; |
| Source | common/http/src/response.ts |
Overview
enum HttpEventType {
Sent
UploadProgress
ResponseHeader
DownloadProgress
Response
User
}
Description
Type enumeration for the different kinds of HttpEvent.
Members
Sent
The request was sent out over the wire.
UploadProgress
An upload progress event was received.
ResponseHeader
The response status code and headers were received.
DownloadProgress
A download progress event was received.
Response
The full response including the body was received.
User
A custom event from an interceptor or a backend.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/common/http/HttpEventType