Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.12 KB

HttpResponse.md

File metadata and controls

52 lines (33 loc) · 1.12 KB
title HttpResponse
titleTemplate title - API / NativeScript
description Encapsulates HTTP-response information from an HTTP-request.
contributors false

Defined in: http/http-interfaces.ts

Encapsulates HTTP-response information from an HTTP-request.

Type Parameters

Type Parameter Default type
T HttpContent

Properties

content?

optional content?: T;

Defined in: http/http-interfaces.ts

Gets the response content.


headers

headers: Headers;

Defined in: http/http-interfaces.ts

Gets the response headers.


statusCode

statusCode: number;

Defined in: http/http-interfaces.ts

Gets the response status code.