HttpResponse

open class HttpResponse<T : Any>(val response: HttpResponse, val provider: BodyProvider<T>)

Constructors

Link copied to clipboard
constructor(response: HttpResponse, provider: BodyProvider<T>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val response: HttpResponse
Link copied to clipboard
val status: Int
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun body(): T
Link copied to clipboard
fun <T : Any, V : Any> HttpResponse<T>.map(block: T.() -> V): HttpResponse<V>
Link copied to clipboard
suspend fun <V : Any> typedBody(type: TypeInfo): V