WinHttp
object WinHttp
A Kotlin/Native client engine that targets Windows-based operating systems.
To create the client with this engine, pass it to the HttpClient
constructor:
val client = HttpClient(WinHttp)
Content copied to clipboard
To configure the engine, pass settings exposed by WinHttpClientEngineConfig to the engine
method:
val client = HttpClient(WinHttp) {
engine {
// this: WinHttpClientEngineConfig
}
}
Content copied to clipboard
You can learn more about client engines from Engines.