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)

To configure the engine, pass settings exposed by WinHttpClientEngineConfig to the engine method:

val client = HttpClient(WinHttp) {
engine {
// this: WinHttpClientEngineConfig
}
}

You can learn more about client engines from Engines.

Functions

Link copied to clipboard
open fun create(block: WinHttpClientEngineConfig.() -> Unit): <Error class: unknown class>
Link copied to clipboard
open override fun toString(): String