open class HttpClientCall : CoroutineScope
A class that represents a single pair of request and response for a specific HttpClient. |
class DoubleReceiveException : IllegalStateException
Exception representing that the response payload has already been received. |
|
class NoTransformationFoundException : UnsupportedOperationException
Exception representing the no transformation was found. It includes the received type and the expected type as part of the message. |
|
class ReceivePipelineException : IllegalStateException
Exception representing fail of the response pipeline cause contains origin pipeline exception |
|
class UnsupportedContentTypeException : IllegalStateException |
|
class UnsupportedUpgradeProtocolException : IllegalArgumentException |
suspend fun <T> HttpClientCall.body(): T suspend fun <T> HttpResponse.body(): T
Tries to receive the payload of the response as an specific type T. suspend fun <T> HttpResponse.body(typeInfo: TypeInfo): T
Tries to receive the payload of the response as an specific type T described in typeInfo. |
|
suspend fun <T> HttpClientCall. suspend fun <T> HttpResponse.
Tries to receive the payload of the response as an specific type T. suspend fun
Tries to receive the payload of the response as a specific expected type provided in info. Returns response if info corresponds to HttpResponse. |
|
suspend fun HttpClientCall.save(): HttpClientCall
Fetch data for HttpClientCall and close the origin. |