spring-framework
5.3.39

# bodyToFlow

inline fun <T : Any> ServerRequest.bodyToFlow(): Flow<T>
Content copied to clipboard

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>
Content copied to clipboard

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

#### Author

Igor Manushin

#### Since

5.3