NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in

Defined in: http/http-interfaces.ts

Encapsulates HTTP-response information from an HTTP-request.

Type Parameters

Type ParameterDefault type
THttpContent

Properties

content?

ts
optional content?: T;

Defined in: http/http-interfaces.ts

Gets the response content.


headers

ts
headers: Headers;

Defined in: http/http-interfaces.ts

Gets the response headers.


statusCode

ts
statusCode: number;

Defined in: http/http-interfaces.ts

Gets the response status code.