ApiRequest

data class ApiRequest(val method: HttpMethod, val headers: Map<String, String>?, val body: String?, val params: Map<String, String>?, val url: String)

ApiRequest is a data class that keeps the main properties of a HTTP request.

Constructors

Link copied to clipboard
constructor(method: HttpMethod, headers: Map<String, String>?, body: String?, params: Map<String, String>?, url: String)

Properties

Link copied to clipboard
val body: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val url: String