Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Interfaces
HttpResponse
HttpResponse
interface HttpResponse { content: HttpContent; headers: Headers; statusCode: number; }
Encapsulates HTTP-response information from an HTTP-request.
Summary
Properties
Properties
content
content?: HttpContent
defined in @nativescript/core/http/index.d.ts:124:1
Gets the response content.
headers
headers: Headers
defined in @nativescript/core/http/index.d.ts:119:1
Gets the response headers.
statusCode
defined in @nativescript/core/http/index.d.ts:114:1
Gets the response status code.
- Previous
- HttpRequestOptions
- Next
- IDevice