PreparedHttpRequest

data class PreparedHttpRequest(val url: String, val method: HttpMethod, val headers: Headers = Headers.Empty, val body: HttpBody? = null)(source)

A request to send. Send every header in headers, and body with its HttpBody.contentType as Content-Type; headers never contain Content-Type.

Constructors

Link copied to clipboard
constructor(url: String, method: HttpMethod, headers: Headers = Headers.Empty, body: HttpBody? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val headers: Headers
Link copied to clipboard
val method: HttpMethod
Link copied to clipboard
val url: String