HttpRequest

class HttpRequest

a HTTP request to be sent

Types

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

Functions

Link copied to clipboard
fun newBuilder(method: HttpMethod = this.method, url: String = this.url): HttpRequest.Builder

Properties

Link copied to clipboard
val body: HttpBody?
Link copied to clipboard
val headers: List<HttpHeader>
Link copied to clipboard
val method: HttpMethod
Link copied to clipboard
val url: String