Skip to content

Commit

Permalink
Add since to WebClient.ResponseSpec.awaitBodyOrNull()
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and Zoran0104 committed Aug 20, 2021
1 parent 4ebe787 commit e9e489f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e9e489f

Please sign in to comment.