Request2

open class Request2<T>

Request2

Since

0.5.1

Inheritors

Constructors

Link copied to clipboard
internal constructor()

Types

Link copied to clipboard
class Empty<T> : Request2<T>
Link copied to clipboard
class Exception<T>(val exception: Throwable) : Request2<T>
Link copied to clipboard
class Failure<T>(val code: Int, val message: String) : Request2<T>
Link copied to clipboard
class Success<T>(val data: T) : Request2<T>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun failure(code: Int, message: String): Request2.Failure<T>
Link copied to clipboard