awaitExchange

Coroutines variant of WebClient.RequestHeadersSpec.exchange.

Author

Sebastien Deleuze

Since

5.2


suspend fun <T : Any> WebClient.RequestHeadersSpec<out WebClient.RequestHeadersSpec<*>>.awaitExchange(responseHandler: suspend (ClientResponse) -> T): T

Coroutines variant of WebClient.RequestHeadersSpec.exchangeToMono.

Author

Sebastien Deleuze

Since

5.3