vertx / io.vertx.kotlin.core.http / io.vertx.core.http.HttpClient

Extensions for io.vertx.core.http.HttpClient

getNowAwait

suspend fun HttpClient.getNowAwait(options: RequestOptions): HttpClientResponse
suspend fun HttpClient.getNowAwait(port: Int, host: String, requestURI: String): HttpClientResponse
suspend fun HttpClient.getNowAwait(host: String, requestURI: String): HttpClientResponse
suspend fun HttpClient.getNowAwait(requestURI: String): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.getNow

headNowAwait

suspend fun HttpClient.headNowAwait(options: RequestOptions): HttpClientResponse
suspend fun HttpClient.headNowAwait(port: Int, host: String, requestURI: String): HttpClientResponse
suspend fun HttpClient.headNowAwait(host: String, requestURI: String): HttpClientResponse
suspend fun HttpClient.headNowAwait(requestURI: String): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.headNow

optionsNowAwait

suspend fun HttpClient.optionsNowAwait(options: RequestOptions): HttpClientResponse
suspend fun HttpClient.optionsNowAwait(port: Int, host: String, requestURI: String): HttpClientResponse
suspend fun HttpClient.optionsNowAwait(host: String, requestURI: String): HttpClientResponse
suspend fun HttpClient.optionsNowAwait(requestURI: String): HttpClientResponse

Suspending version of method io.vertx.core.http.HttpClient.optionsNow

webSocketAbsAwait

suspend fun HttpClient.webSocketAbsAwait(url: String, headers: MultiMap, version: WebsocketVersion, subProtocols: List<String>): WebSocket

Suspending version of method io.vertx.core.http.HttpClient.webSocketAbs

webSocketAwait

suspend fun HttpClient.webSocketAwait(port: Int, host: String, requestURI: String): WebSocket
suspend fun HttpClient.webSocketAwait(host: String, requestURI: String): WebSocket
suspend fun HttpClient.webSocketAwait(requestURI: String): WebSocket
suspend fun HttpClient.webSocketAwait(options: WebSocketConnectOptions): WebSocket

Suspending version of method io.vertx.core.http.HttpClient.webSocket