HttpResponse

class HttpResponse

an HTTP Response.

Specifying both bodySource and bodyString is invalid

The body of a HttpResponse must always be closed if non null

Types

Link copied to clipboard
class Builder(val statusCode: Int)

Functions

Link copied to clipboard
fun newBuilder(): HttpResponse.Builder

Properties

Link copied to clipboard
val body: BufferedSource?
Link copied to clipboard
val headers: List<HttpHeader>
Link copied to clipboard
val statusCode: Int