Request

interface Request

An HTTP request with an optional JSON body.

Properties

Link copied to clipboard
open val body: Map<String, Any?>?

Any extra information to include in the request. (Optional)

Link copied to clipboard
open val headers: Headers

The HTTP Headers that should be sent before the request's body.

Link copied to clipboard
abstract val method: String

The HTTP method that should be used to send the request.

Link copied to clipboard
abstract val url: String

The host and path that the request should be sent to.