Curl
A Kotlin/Native client engine that can be used on desktop platforms.
To create the client with this engine, pass it to the HttpClient constructor:
val client = HttpClient(Curl)Content copied to clipboard
To configure the engine, pass settings exposed by CurlClientEngineConfig to the engine method:
val client = HttpClient(Curl) {
engine {
// this: CurlClientEngineConfig
}
}Content copied to clipboard
You can learn more about client engines from Engines.