Response

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

HTTP Response Object class.

Constructors

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

body
Link copied to clipboard
val body: String
Response body
code
Link copied to clipboard
val code: Int
HTTP Response code
headers
Link copied to clipboard
val headers: Map<String, List<String>>
HTTP Response headers
isMaintenance
Link copied to clipboard
val isMaintenance: Boolean
Is server maintenance response.
isSuccessful
Link copied to clipboard
val isSuccessful: Boolean
is Request successful .

Inheritors

TrackResponse
Link copied to clipboard