ResponseWrapper

class ResponseWrapper(response: Response, val url: String) : Response

Constructors

Link copied to clipboard
constructor(response: Response, url: String)

Properties

Link copied to clipboard
val ResponseWrapper.json: JsonElement
Link copied to clipboard
val ResponseWrapper.jsonArray: JsonArray
Link copied to clipboard
Link copied to clipboard
val ResponseWrapper.jsonObject: JsonObject
Link copied to clipboard
Link copied to clipboard
val ResponseWrapper.jsonOrNull: JsonElement?
Link copied to clipboard
open override val status: Status
Link copied to clipboard
open override val text: String
Link copied to clipboard
val url: String

Functions

Link copied to clipboard
Link copied to clipboard
inline fun <T> ResponseWrapper.decodeJson(): T