Response

abstract class Response : Closeable

An HTTP response.

Since

200.2.0

Types

Link copied to clipboard
abstract class Body : Closeable

The response content of an HTTP response.

Link copied to clipboard
abstract class Builder

A builder to create a Response instance.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val body: Response.Body?

The Body of this response, or null if the response does not contain any content.

Link copied to clipboard
abstract val code: Int

The HTTP response status code.

Link copied to clipboard
abstract val headers: List<Request.Header>

The HTTP headers of this response.

Inherited functions

Link copied to clipboard
abstract override fun close()