HttpRequest

interface HttpRequest

Immutable representation of an HTTP request

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val body: HttpBody

The request payload

Link copied to clipboard
abstract val headers: Headers

The headers to send with the request

Link copied to clipboard
abstract val method: HttpMethod

The HTTP method (verb) to use when sending the request

Link copied to clipboard

The trailing headers

Link copied to clipboard
abstract val url: <Error class: unknown class>

The endpoint to send the request to

Inherited functions

Link copied to clipboard

Convert an HttpRequest back to an HttpRequestBuilder