Http

data class Http(val url: String? = null, val headers: Map<String, String>? = null, val queryParams: Map<String, String>? = null)

Represents an HTTP configuration.

Constructors

Link copied to clipboard
constructor(url: String? = null, headers: Map<String, String>? = null, queryParams: Map<String, String>? = null)

Properties

Link copied to clipboard
val headers: Map<String, String>? = null

The headers to be included in the HTTP request.

Link copied to clipboard
val queryParams: Map<String, String>? = null

The query parameters to be included in the HTTP request.

Link copied to clipboard
val url: String? = null

The URL of the HTTP endpoint.