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()
network-either
/
com.javiersc.network.either
/
NetworkEither
/
toEither
to
Either
inline
fun
<
L
,
R
>
toEither
(
crossinline
httpFailure
:
(
NetworkEither.Failure.Http
<
F
>
)
->
L
,
localFailure
:
(
)
->
L
,
remoteFailure
:
(
)
->
L
,
crossinline
unknownFailure
:
(
Throwable
)
->
L
,
crossinline
success
:
(
NetworkEither.Success
<
S
>
)
->
R
)
:
Either
<
L
,
R
>