A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.nativescript.org/api/namespace/Http below:

Http | API - NativeScript

Summary References Functions
getBinary(url: string): Promise<ArrayBuffer>

Downloads the content from the specified URL as binary and returns an ArrayBuffer.

Returns Promise<ArrayBuffer>

Downloads the content from the specified URL as binary and returns an ArrayBuffer.

Returns Promise<ArrayBuffer>

getFile(url: string, destinationFilePath?: string): Promise<File>

Downloads the content from the specified URL and attempts to save it as file.

Downloads the content from the specified URL and attempts to save it as file.

Downloads the content from the specified URL and attempts to decode it as an image.

Downloads the content from the specified URL and attempts to decode it as an image.

getJSON&lt;T&gt;(url: string): Promise&lt;T&gt;

Downloads the content from the specified URL as a string and returns its JSON.parse representation.

Returns Promise<T>

Downloads the content from the specified URL as a string and returns its JSON.parse representation.

Returns Promise<T>

getString(url: string): Promise&lt;string&gt;

Downloads the content from the specified URL as a string.

Returns Promise<string>

Downloads the content from the specified URL as a string.

Returns Promise<string>

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4