JsonHttpResponse

class JsonHttpResponse(response: HttpResponse, json: Json) : HttpResponse(source)

A HTTP response that you can get JSON deserialized responses from.

Constructors

Link copied to clipboard
fun JsonHttpResponse(response: HttpResponse, json: Json)

Functions

Link copied to clipboard
open override fun isSuccess(): Boolean
Link copied to clipboard
open suspend override fun readBody(): String
Link copied to clipboard
inline suspend fun <T> readJsonBody(): T

Properties

Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val message: IncomingMessage
Link copied to clipboard
open override val statusCode: Int
Link copied to clipboard
open override val statusMessage: String