# 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
ApiRequest | constructor(method: HttpMethod, headers: Map<String, String>?, body: String?, params: Map<String, String>?, url: String) |
# Properties
Name | Summary |
---|---|
body | val body: String? |
headers | val headers: Map<String, String>? |
method | val method: HttpMethod |
params | val params: Map<String, String>? |
url | val url: String |