body

inline fun <T : Any> RestClient.ResponseSpec.body(): T?

Extension for RestClient.ResponseSpec.body providing a body<Foo>() variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.

Author

Sebastien Deleuze

Since

6.1