awaitBody

inline suspend fun <T : Any> ClientResponse.awaitBody(): T

Non-nullable Coroutines variant of ClientResponse.bodyToMono.

Author

Sebastien Deleuze

Since

5.2


suspend fun <T : Any> ClientResponse.awaitBody(clazz: KClass<T>): T

KClass non-nullable coroutines variant of ClientResponse.bodyToMono. Please consider awaitBody<Foo> variant if possible.

Author

Igor Manushin

Since

5.3


inline suspend fun <T : Any> WebClient.ResponseSpec.awaitBody(): T

Coroutines variant of WebClient.ResponseSpec.bodyToMono.

Author

Sebastien Deleuze

Since

5.2