Android
A JVM/Android client engine that uses HttpURLConnection under the hood. You can use this engine if your application targets old Android versions (1.x+).
To create the client with this engine, pass it to the HttpClient constructor:
val client = HttpClient(Android)Content copied to clipboard
To configure the engine, pass settings exposed by AndroidEngineConfig to the engine method:
val client = HttpClient(Android) {
engine {
// this: AndroidEngineConfig
}
}Content copied to clipboard
You can learn more about client engines from Engines.