HttpResponse

data class HttpResponse(httpRequest: HttpRequest, url: String, status: Int, headers: Map<String, String>, body: ByteArray)

Properties

body
Link copied to clipboard
var body: ByteArray
The body of this response.
headers
Link copied to clipboard
val headers: Map<String, String>
The HTTP headers of this response.
httpRequest
Link copied to clipboard
val httpRequest: HttpRequest
The corresponding request object of this response
status
Link copied to clipboard
val status: Int
The HTTP status code
url
Link copied to clipboard
val url: String
The URL of the corresponding request.

Functions

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