toggle menu
network-either-kmp
0.3.0-SNAPSHOT
common
switch theme
network-either
com.
javiersc.
network.
either
Headers
Network
Either
Companion
Failure
Http
Local
Remote
Unknown
Success
Network
Either
Call
Adapter
Factory
Network
Failure
Network
Failure
Http
Network
Failure
Local
Network
Failure
Remote
Network
Failure
Unknown
Network
Success
com.
javiersc.
network.
either.
ktor
Network
Either
Plugin
Companion
Config
com.
javiersc.
network.
either.
utils
is
Network
Available()
network-either-logger
com.
javiersc.
network.
either.
logger
also
Log()
network-resource-either-extensions
com.
javiersc.
network.
either.
resource
to
Resource()
resource-either
com.
javiersc.
resource.
either
Resource
Either
Companion
Failure
Success
Resource
Failure
Resource
Success
com.
javiersc.
resource.
either.
extensions
as
Failure()
as
Success()
as
Success
Loading()
resource-either
/
com.javiersc.resource.either.extensions
Package-level
declarations
Functions
Functions
as
Failure
Link copied to clipboard
inline
fun
<
F
,
S
>
F
.
asFailure
(
data
:
S
?
=
null
,
isLoading
:
Boolean
=
false
)
:
ResourceEither
<
F
,
S
>
Transform this in Failure
as
Success
Link copied to clipboard
inline
fun
<
F
,
S
>
S
.
asSuccess
(
isLoading
:
Boolean
=
false
)
:
ResourceEither
<
F
,
S
>
Transform this in Success
as
Success
Loading
Link copied to clipboard
inline
fun
<
F
,
S
>
S
.
asSuccessLoading
(
)
:
ResourceEither
<
F
,
S
>
Transform this in SuccessLoading