Nativescript plugin for https requests
Nativescript Doc
Preparing search index...
HttpsResponseLegacy
Interface HttpsResponseLegacy<T>
interface
HttpsResponseLegacy
<
T
=
any
>
{
contentLength
:
number
;
toArrayBuffer
()
:
ArrayBuffer
;
toArrayBufferAsync
()
:
Promise
<
ArrayBuffer
>
;
toFile
(
destinationFilePath
:
string
)
:
Promise
<
File
>
;
toImage
()
:
Promise
<
ImageSource
>
;
toJSON
()
:
T
;
toJSONAsync
()
:
Promise
<
T
>
;
toString
()
:
string
;
toStringAsync
()
:
Promise
<
string
>
;
}
Type Parameters
T
=
any
Index
Properties
content
Length
Methods
to
Array
Buffer
to
Array
Buffer
Async
to
File
to
Image
to
JSON
to
JSON
Async
to
String
to
String
Async
Properties
content
Length
contentLength
:
number
Methods
to
Array
Buffer
toArrayBuffer
()
:
ArrayBuffer
Returns
ArrayBuffer
to
Array
Buffer
Async
toArrayBufferAsync
()
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
to
File
toFile
(
destinationFilePath
:
string
)
:
Promise
<
File
>
Parameters
destinationFilePath
:
string
Returns
Promise
<
File
>
to
Image
toImage
()
:
Promise
<
ImageSource
>
Returns
Promise
<
ImageSource
>
to
JSON
toJSON
()
:
T
Returns
T
to
JSON
Async
toJSONAsync
()
:
Promise
<
T
>
Returns
Promise
<
T
>
to
String
toString
()
:
string
Returns
string
to
String
Async
toStringAsync
()
:
Promise
<
string
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
content
Length
Methods
to
Array
Buffer
to
Array
Buffer
Async
to
File
to
Image
to
JSON
to
JSON
Async
to
String
to
String
Async
Nativescript Doc
Nativescript plugin for https requests
Loading...