Merge pull request #26755 from izeye
* pr/26755: Add since to WebClient.ResponseSpec.awaitBodyOrNull() Closes gh-26755
This commit is contained in:
commit
01bea34569
|
|
@ -148,6 +148,7 @@ suspend inline fun <reified T : Any> WebClient.ResponseSpec.awaitBody() : T =
|
||||||
* Coroutines variant of [WebClient.ResponseSpec.bodyToMono].
|
* Coroutines variant of [WebClient.ResponseSpec.bodyToMono].
|
||||||
*
|
*
|
||||||
* @author Valentin Shakhov
|
* @author Valentin Shakhov
|
||||||
|
* @since 5.3.6
|
||||||
*/
|
*/
|
||||||
suspend inline fun <reified T : Any> WebClient.ResponseSpec.awaitBodyOrNull() : T? =
|
suspend inline fun <reified T : Any> WebClient.ResponseSpec.awaitBodyOrNull() : T? =
|
||||||
when (T::class) {
|
when (T::class) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue