Companion

object Companion

Functions

Link copied to clipboard
fun <F> buildHttpFailure(error: F, code: Int, headers: Headers): NetworkEither.Failure.Http<F>
Link copied to clipboard
fun <S> buildSuccess(data: S, code: Int, headers: Headers): NetworkEither.Success<S>
Link copied to clipboard
fun <F> httpFailure(error: F, code: Int, headers: Headers): NetworkEither<F, Nothing>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <S> success(data: S, code: Int, headers: Headers): NetworkEither<Nothing, S>
Link copied to clipboard