Package io.ktor.client.call
Types
Link copied to clipboard
class DoubleReceiveException(call: HttpClientCall) : IllegalStateException
Content copied to clipboard
Exception representing that the response payload has already been received.
Link copied to clipboard
A class that represents a single pair of request and response for a specific HttpClient.
Link copied to clipboard
class NoTransformationFoundException(response: HttpResponse, from: KClass<*>, to: KClass<*>) : UnsupportedOperationException
Content copied to clipboard
Exception representing the no transformation was found. It includes the received type and the expected type as part of the message.
Link copied to clipboard
class ReceivePipelineException(request: HttpClientCall, info: TypeInfo, cause: Throwable) : IllegalStateException
Content copied to clipboard
Exception representing fail of the response pipeline cause contains origin pipeline exception
Link copied to clipboard
class UnsupportedContentTypeException(content: OutgoingContent) : IllegalStateException
Content copied to clipboard
Link copied to clipboard
class UnsupportedUpgradeProtocolException(url: Url) : IllegalArgumentException
Content copied to clipboard
Functions
Link copied to clipboard
Tries to receive the payload of the response as a specific type T.
Link copied to clipboard
Tries to receive the payload of the response as a specific type T.
Tries to receive the payload of the response as a specific expected type provided in info. Returns response if info corresponds to HttpResponse.
Link copied to clipboard
Fetch data for HttpClientCall and close the origin.