HttpHeaderResponse
class
A partial HTTP response which only includes the status and header data, but no response body.
class HttpHeaderResponse extends HttpResponseBase { constructor(init: {...}) type: HttpEventType.ResponseHeader clone(update: {...}): HttpHeaderResponse // inherited from common/http/HttpResponseBase constructor(init: {...}, defaultStatus: number = 200, defaultStatusText: string = 'OK') headers: HttpHeaders status: number statusText: string url: string | null ok: boolean type: HttpEventType.Response | HttpEventType.ResponseHeader }
Description
HttpHeaderResponse
is a HttpEvent
available on the response event stream, only when progress events are requested.
Constructor
Create a new | ||
|
init | Type: Optional. Default is |
Properties
Property | Description |
---|---|
type: HttpEventType.ResponseHeader | Read-only. |
Methods
clone() | ||
---|---|---|
Copy this | ||
|
update | Type: Optional. Default is |
Returns
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/common/http/HttpHeaderResponse