Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.5 KB

index.md

File metadata and controls

57 lines (36 loc) · 1.5 KB
title Http
titleTemplate title - API / NativeScript
contributors false

Interfaces

Interface Description
HttpContentHandler -

Variables

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

Functions

Function Description
getBinary Downloads the content from the specified URL as binary and returns an ArrayBuffer.
getFile Downloads the content from the specified URL and attempts to save it as file.
getImage Downloads the content from the specified URL and attempts to decode it as an image.
getJSON Downloads the content from the specified URL as a string and returns its JSON.parse representation.
getString Downloads 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