HttpCall

class HttpCall(    engine: HttpEngine,     method: HttpMethod,     url: String)

Constructors

Link copied to clipboard
fun HttpCall(    engine: HttpEngine,     method: HttpMethod,     url: String)

Functions

Link copied to clipboard
fun addHeader(name: String, value: String): HttpCall
Link copied to clipboard
fun addHeaders(headers: List<HttpHeader>): HttpCall
Link copied to clipboard
fun body(body: HttpBody): HttpCall
Link copied to clipboard
suspend fun execute(): HttpResponse
Link copied to clipboard
fun headers(headers: List<HttpHeader>): HttpCall