NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"http"
HttpContent
Interface HttpContent
Globals
"http"
Http
Response
Encoding
Http
Content
raw
to
Array
Buffer
to
File
to
Image
toJSON
to
String
Http
Request
Options
Http
Response
Headers
get
Binary
get
File
get
Image
getJSON
get
String
request
Hierarchy
HttpContent
Index
Properties
raw
to
Array
Buffer
to
File
to
Image
toJSON
to
String
Properties
raw
raw
:
any
to
Array
Buffer
to
Array
Buffer
:
function
Type declaration
(
)
:
ArrayBuffer
Returns
ArrayBuffer
to
File
to
File
:
function
Type declaration
(
destinationFilePath
?:
string
)
:
File
Parameters
Optional
destinationFilePath:
string
Returns
File
to
Image
to
Image
:
function
Type declaration
(
)
:
Promise
<
ImageSource
>
Returns
Promise
<
ImageSource
>
toJSON
toJSON
:
function
Type declaration
(
encoding
?:
HttpResponseEncoding
)
:
any
Parameters
Optional
encoding:
HttpResponseEncoding
Returns
any
to
String
to
String
:
function
Type declaration
(
encoding
?:
HttpResponseEncoding
)
:
string
Parameters
Optional
encoding:
HttpResponseEncoding
Returns
string
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android