Merge branch '6.0.x'
This commit is contained in:
@@ -102,6 +102,7 @@ suspend inline fun <reified T : Any> ClientResponse.awaitBody(): T =
|
||||
* `KClass` non-nullable coroutines variant of [ClientResponse.bodyToMono].
|
||||
* Please consider `awaitBody<Foo>` variant if possible.
|
||||
*
|
||||
* @throws NoSuchElementException if the underlying [Mono] does not emit any value
|
||||
* @author Igor Manushin
|
||||
* @since 5.3
|
||||
*/
|
||||
|
||||
@@ -143,6 +143,7 @@ inline fun <reified T : Any> WebClient.ResponseSpec.bodyToFlow(): Flow<T> =
|
||||
/**
|
||||
* Coroutines variant of [WebClient.ResponseSpec.bodyToMono].
|
||||
*
|
||||
* @throws NoSuchElementException if the underlying [Mono] does not emit any value
|
||||
* @author Sebastien Deleuze
|
||||
* @since 5.2
|
||||
*/
|
||||
|
||||
@@ -76,6 +76,7 @@ fun <T : Any> ServerRequest.bodyToFlow(clazz: KClass<T>): Flow<T> =
|
||||
/**
|
||||
* Non-nullable Coroutines variant of [ServerRequest.bodyToMono].
|
||||
*
|
||||
* @throws NoSuchElementException if the underlying [Mono] does not emit any value
|
||||
* @author Sebastien Deleuze
|
||||
* @since 5.2
|
||||
*/
|
||||
@@ -86,6 +87,7 @@ suspend inline fun <reified T : Any> ServerRequest.awaitBody(): T =
|
||||
* `KClass` non-nullable Coroutines variant of [ServerRequest.bodyToMono].
|
||||
* Please consider `awaitBody<Foo>` variant if possible.
|
||||
*
|
||||
* @throws NoSuchElementException if the underlying [Mono] does not emit any value
|
||||
* @author Igor Manushin
|
||||
* @since 5.3
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user