toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
tools
/
com.ave.vastgui.tools.network.request
/
Request2
Request2
open
class
Request2
<
T
>
Request2
Since
0.5.1
Inheritors
Success
Failure
Empty
Exception
Members
Constructors
Request2
Link copied to clipboard
internal
constructor
(
)
Types
Empty
Link copied to clipboard
class
Empty
<
T
>
:
Request2
<
T
>
Exception
Link copied to clipboard
class
Exception
<
T
>
(
val
exception
:
Throwable
)
:
Request2
<
T
>
Failure
Link copied to clipboard
class
Failure
<
T
>
(
val
code
:
Int
,
val
message
:
String
)
:
Request2
<
T
>
Success
Link copied to clipboard
class
Success
<
T
>
(
val
data
:
T
)
:
Request2
<
T
>
Functions
empty
Link copied to clipboard
fun
empty
(
)
:
Request2.Empty
<
T
>
exception
Link copied to clipboard
fun
exception
(
exception
:
Throwable
)
:
Request2.Exception
<
T
>
failure
Link copied to clipboard
fun
failure
(
code
:
Int
,
message
:
String
)
:
Request2.Failure
<
T
>
success
Link copied to clipboard
fun
success
(
data
:
T
)
:
Request2.Success
<
T
>