Skip to content

Commit

Permalink
Merge pull request #26755 from izeye
Browse files Browse the repository at this point in the history
* pr/26755:
  Add since to WebClient.ResponseSpec.awaitBodyOrNull()

Closes gh-26755
  • Loading branch information
snicoll committed Apr 2, 2021
2 parents 58e40d1 + aec151e commit 01bea34
Showing 1 changed file with 1 addition and 0 deletions.
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 01bea34

Please sign in to comment.