mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Add since to WebClient.ResponseSpec.awaitBodyOrNull()
See gh-26755
This commit is contained in:
committed by
Stephane Nicoll
parent
58e40d1aa2
commit
aec151e014
+1
@@ -148,6 +148,7 @@ suspend inline fun <reified T : Any> WebClient.ResponseSpec.awaitBody() : T =
|
||||
* Coroutines variant of [WebClient.ResponseSpec.bodyToMono].
|
||||
*
|
||||
* @author Valentin Shakhov
|
||||
* @since 5.3.6
|
||||
*/
|
||||
suspend inline fun <reified T : Any> WebClient.ResponseSpec.awaitBodyOrNull() : T? =
|
||||
when (T::class) {
|
||||
|
||||
Reference in New Issue
Block a user