NetworkSendRequest

A read-only request handed to a NetworkSender to be replayed/sent.

Library-constructed: the concrete implementation is internal in :lustro.

Properties

Link copied to clipboard
abstract val body: ByteArray?

The request body bytes, or null if there is no body.

Link copied to clipboard
abstract val contentType: MediaType?

The Content-Type of the body, or null if absent.

Link copied to clipboard
abstract val headers: Headers

The request headers.

Link copied to clipboard
abstract val method: String

The HTTP method, e.g. GET or POST.

Link copied to clipboard
abstract val url: String

The absolute request URL.