DefaultHttpResponse

class DefaultHttpResponse(call: HttpClientCall, responseData: HttpResponseData) : HttpResponse

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val call: HttpClientCall

The associated HttpClientCall containing both the underlying HttpClientCall.request and HttpClientCall.response.

Link copied to clipboard
open override val content: ByteReadChannel

Unmodified ByteReadChannel with the raw payload of the response.

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val requestTime: GMTDate

GMTDate of the request start.

Link copied to clipboard
open override val responseTime: GMTDate

GMTDate of the response start.

Link copied to clipboard
open override val status: HttpStatusCode

The HttpStatusCode returned by the server. It includes both, the HttpStatusCode.description and the HttpStatusCode.value (code).

Link copied to clipboard
open override val version: HttpProtocolVersion