KPost

interface KPost<T : KRequest, R : KResponse>

Implement this interface in your data classes to use them as a request body of posts and puts in Ktor

Properties

Link copied to clipboard
abstract val process: (T) -> R

Functions

Link copied to clipboard
inline fun <T : KRequest, R : KResponse> KPost<T, R>.getPostBodyClass(): KClass<T>
Link copied to clipboard