Request

data class Request(val method: RequestMethod, val url: String, val headers: Map<String, String> = mapOf(), val query: Map<String, List<String>> = mapOf(), val body: ByteArray? = null)

Constructors

Link copied to clipboard
constructor(method: RequestMethod, url: String, headers: Map<String, String> = mapOf(), query: Map<String, List<String>> = mapOf(), body: ByteArray? = null)

Properties

Link copied to clipboard
val body: ByteArray? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String