awaitEntity
Coroutines variant of ClientResponse.toEntity.
Author
Sebastien Deleuze
Since
5.2
KClass
coroutines variant of ClientResponse.toEntity. Please consider awaitEntity<Foo>
variant if possible.
Author
Igor Manushin
Since
5.3
Extension for WebClient.ResponseSpec.toEntity providing a toEntity<Foo>()
variant leveraging Kotlin reified type parameters and allows kotlin.coroutines.CoroutineContext propagation to the CoExchangeFilterFunction. This extension is not subject to type erasure and retains actual generic type arguments.
Since
7.0