HttpClientResponse

data class HttpClientResponse(val body: Any = "", val headers: Headers = Headers(), val contentType: ContentType? = null, val cookies: List<Cookie> = emptyList(), val status: HttpStatus = NOT_FOUND_404, val contentLength: Long = -1L) : HttpClientResponsePort

Constructors

Link copied to clipboard
constructor(body: Any = "", headers: Headers = Headers(), contentType: ContentType? = null, cookies: List<Cookie> = emptyList(), status: HttpStatus = NOT_FOUND_404, contentLength: Long = -1L)

Functions

Link copied to clipboard
open fun bodyString(): String
Link copied to clipboard
open fun cookiesMap(): Map<String, Cookie>

Properties

Link copied to clipboard
open override val body: Any
Link copied to clipboard
open override val contentLength: Long
Link copied to clipboard
open override val contentType: ContentType? = null
Link copied to clipboard
open override val cookies: List<Cookie>
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val status: HttpStatus