Builder

class Builder(method: HttpMethod, url: String)

Constructors

Link copied to clipboard
fun Builder(method: HttpMethod, url: String)

Functions

Link copied to clipboard
fun addHeader(name: String, value: String): HttpRequest.Builder
Link copied to clipboard
fun addHeaders(headers: List<HttpHeader>): HttpRequest.Builder
Link copied to clipboard
fun body(body: HttpBody): HttpRequest.Builder
Link copied to clipboard
fun build(): HttpRequest
Link copied to clipboard
fun headers(headers: List<HttpHeader>): HttpRequest.Builder