Response

open class Response(val code: Int, val headers: Map<String, List<String>>, val body: String)

HTTP Response Object class.

Inheritors

Constructors

Link copied to clipboard
constructor(code: Int, headers: Map<String, List<String>>, body: String)

Properties

Link copied to clipboard

Response body

Link copied to clipboard
val code: Int

HTTP Response code

Link copied to clipboard

HTTP Response headers

Link copied to clipboard

Is server maintenance response.

Link copied to clipboard

is Request successful .