HttpEvent

type-alias

npm Package @angular/common
Module import { HttpEvent } from '@angular/common/http';
Source common/http/src/response.ts
type HttpEvent<T> = HttpSentEvent | HttpHeaderResponse | HttpResponse<T>| HttpProgressEvent | HttpUserEvent<T>;

Description

Union type for all possible events on the response stream.

Typed according to the expected type of the response.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/common/http/HttpEvent