awaitBodyOrNull
Nullable Coroutines variant of ServerRequest.bodyToMono.
Author
Sebastien Deleuze
Since
5.2
suspend fun <T : Any> ServerRequest.awaitBodyOrNull(clazz: KClass<T>): T?
Content copied to clipboard
KClass
nullable Coroutines variant of ServerRequest.bodyToMono. Please consider awaitBodyOrNull<Foo>
variant if possible.
Author
Igor Manushin
Since
5.3