bodyToFlow

inline fun <T : Any> ServerRequest.bodyToFlow(): Flow<T>

Coroutines kotlinx.coroutines.flow.Flow based variant of ServerRequest.bodyToFlux.

Author

Sebastien Deleuze

Since

5.2


fun <T : Any> ServerRequest.bodyToFlow(clazz: KClass<T>): Flow<T>

KClass coroutines kotlinx.coroutines.flow.Flow based variant of ServerRequest.bodyToFlux. Please consider bodyToFlow<Foo> variant if possible.

Author

Igor Manushin

Since

5.3