JdkResponse

class JdkResponse(response: HttpResponse<BufferedSource>, httpClient: HttpClient) : Response

JDK11 HTTP Client implementation of Response based on HttpResponse.

Constructors

Link copied to clipboard
fun JdkResponse(response: HttpResponse<BufferedSource>, httpClient: HttpClient)

Properties

Link copied to clipboard
open override val body: BufferedSource?
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val reasonPhrase: String?
Link copied to clipboard
open override val request: Request
Link copied to clipboard
open override val statusCode: Int
Link copied to clipboard
open override val trailers: Headers?