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

Interfaces ​

InterfaceDescription
HttpContentHandler-

Variables ​

VariableDescription
requestMakes a generic http request using the provided options and returns a HttpResponse Object.

Functions ​

FunctionDescription
getBinaryDownloads the content from the specified URL as binary and returns an ArrayBuffer.
getFileDownloads the content from the specified URL and attempts to save it as file.
getImageDownloads the content from the specified URL and attempts to decode it as an image.
getJSONDownloads the content from the specified URL as a string and returns its JSON.parse representation.
getStringDownloads the content from the specified URL as a string.

References ​

Headers ​

Re-exports Headers


HttpContent ​

Re-exports HttpContent


HttpRequestOptions ​

Re-exports HttpRequestOptions


HttpResponse ​

Re-exports HttpResponse


HttpResponseEncoding ​

Re-exports HttpResponseEncoding

Previous
parse