result

inline suspend fun <B : Any, R : Any> result(method: Method, pathTemplate: String, pathParameters: Parameters? = null, queryParameters: Parameters? = null, body: B? = null, contentTypes: List<MediaType>? = null, acceptTypes: List<MediaType>? = null, headers: Parameters? = null): R
inline suspend fun <R : Any> result(method: Method, pathTemplate: String, pathParameters: Parameters? = null, queryParameters: Parameters? = null, contentTypes: List<MediaType>? = null, acceptTypes: List<MediaType>? = null, headers: Parameters? = null): R
suspend fun <B : Any, R : Any> result(method: Method, pathTemplate: String, pathParameters: Parameters? = null, queryParameters: Parameters? = null, body: B? = null, contentTypes: List<MediaType>? = null, acceptTypes: List<MediaType>? = null, headers: Parameters? = null, resultType: KType): R

Create and execute a request created from the given request parameters and returns a result decoded from the server's response.

Return

Instance of R decoded from the HTTP response.