call
suspend fun HttpClient.call(
block: suspend HttpRequestBuilder.() -> Unit = {}
): HttpClientCall
Deprecated: Unbound [HttpClientCall] is deprecated. Consider using [request<HttpResponse>(block)] in instead.
Constructs a HttpClientCall from this HttpClient and with the specified HttpRequestBuilder configured inside the block.
suspend fun HttpClient.call(
builder: HttpRequestBuilder
): HttpClientCall
Deprecated: Unbound [HttpClientCall] is deprecated. Consider using [request<HttpResponse>(builder)] instead.
Constructs a HttpClientCall from this HttpClient and with the specified HTTP request builder.
suspend fun HttpClient.call(
urlString: String,
block: suspend HttpRequestBuilder.() -> Unit = {}
): HttpClientCall
Deprecated: Unbound [HttpClientCall] is deprecated. Consider using [request<HttpResponse>(urlString, block)] instead.
suspend fun HttpClient.call(
url: Url,
block: suspend HttpRequestBuilder.() -> Unit = {}
): HttpClientCall
Deprecated: Unbound [HttpClientCall] is deprecated. Consider using [request<HttpResponse>(url, block)] instead.
suspend fun HttpClient.call(
url: URL,
block: HttpRequestBuilder.() -> Unit = {}
): HttpClientCall
Deprecated: Unbound [HttpClientCall] is deprecated. Consider using [request<HttpResponse>(url, block)] instead.
Constructs a HttpClientCall from this HttpClient, an url and an optional block configuring a HttpRequestBuilder.