Package io.ktor.client
Types
class HttpClient : CoroutineScope, Closeable Asynchronous client to perform HTTP requests. |
|
class HttpClientConfig<T : HttpClientEngineConfig> Mutable configuration used by HttpClient. |
|
interface HttpClientEngineContainer A container is searched across dependencies using ServiceLoader to find client implementations. An implementation of this interface provides HTTP client factory and only used to find the default client engine when HttpClient function is called with no particular client implementation specified |
Annotations
annotation class HttpClientDsl Dsl marker for HttpClient dsl. |
Functions
expect fun HttpClient( Constructs an asynchronous HttpClient using optional block for configuring this client. fun <T : HttpClientEngineConfig> HttpClient( Constructs an asynchronous HttpClient using the specified engineFactory and an optional block for configuring this client. fun HttpClient( Constructs an asynchronous HttpClient using the specified engine and a block for configuring this client. |