Response2

data class Response2<B, H1, H2>(val status: Status, val body: B, val header1: List<H1>, val header2: List<H2>) : Response<B> (source)

Response carrying a body and 2 header collections.

Constructors

Link copied to clipboard
constructor(status: Status, body: B, header1: List<H1>, header2: List<H2>)

Properties

Link copied to clipboard
val body: B

decoded response body.

Link copied to clipboard

decoded values of the first header definition.

Link copied to clipboard

decoded values of the second header definition.

Link copied to clipboard
open override val status: Status

status code returned by the server.