request

inline suspend fun <reified Body : Any, reified Output : Any> request(crossinline onRequest: RequestScope.() -> Unit, crossinline onResponse: suspend ResponseScope<Body>.() -> Output): Output?
@JvmName(name = "requestForString")
inline suspend fun <reified Output : Any> request(crossinline onRequest: RequestScope.() -> Unit, crossinline onResponse: suspend (String) -> Output): Output?
@JvmName(name = "requestForByteArray")
inline suspend fun <reified Output : Any> request(crossinline onRequest: RequestScope.() -> Unit, crossinline onResponse: suspend (ByteArray) -> Output): Output?
@JvmName(name = "requestForJsonObject")
inline suspend fun <reified Output : Any> request(crossinline onRequest: RequestScope.() -> Unit, crossinline onResponse: suspend (JsonObject) -> Output): Output?