Params

data class Params(val url: String, val headers: Map<String, String>? = null, val body: Any?, val httpMethod: HttpMethod, val timeoutMillis: Long? = null)

Constructors

Link copied to clipboard
constructor(url: String, headers: Map<String, String>? = null, body: Any?, httpMethod: HttpMethod, timeoutMillis: Long? = null)

Properties

Link copied to clipboard
val body: Any?

request body.

Link copied to clipboard

request headers.

Link copied to clipboard
val httpMethod: HttpMethod

HTTP method.

Link copied to clipboard

request timeout override.

Link copied to clipboard
val url: String

endpoint.