spring-framework / org.springframework.test.web.reactive.server / body

body

inline fun <reified T : Any, S : Publisher<T>> RequestBodySpec.body(publisher: S): RequestHeadersSpec<*>

Extension for WebTestClient.RequestBodySpec.body providing a variant without explicit class parameter thanks to Kotlin reified type parameters.

Author
Sebastien Deleuze

Since
5.0