Skip to content

Request

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

data class Request(val id: String, val description: String, val url: String, val headers: Map<String, String>, val body: ByteArray, val contentType: String? = null)

Request object holding the data to be sent.

Constructors

Request

constructor(id: String, description: String, url: String, headers: Map<String, String>, body: ByteArray, contentType: String? = null)

Properties

body

val body: ByteArray

contentType

val contentType: String? = null

description

val description: String

headers

val headers: Map<String, String>

id

val id: String

url

val url: String

Clone this wiki locally