Default Http Client
expect fun DefaultHttpClient(connectTimeout: Long = 3000, requestTimeout: Long = 30000, config: HttpClientConfig<*>.() -> Unit = {}): HttpClient
Returns a platform-configured Ktor HttpClient. JVM and Android use OkHttp; JS uses the Ktor JS engine. Apps can install per-platform engine config (custom SSL, proxies) via the platform-side httpClientCustomizer hook.
actual fun DefaultHttpClient(connectTimeout: Long, requestTimeout: Long, config: HttpClientConfig<*>.() -> Unit): HttpClient
Returns a platform-configured Ktor HttpClient. JVM and Android use OkHttp; JS uses the Ktor JS engine. Apps can install per-platform engine config (custom SSL, proxies) via the platform-side httpClientCustomizer hook.
actual fun DefaultHttpClient(connectTimeout: Long, requestTimeout: Long, config: ERROR CLASS: Symbol not found for HttpClientConfig<*>.() -> Unit): ERROR CLASS: Unresolved name: HttpClient
actual fun DefaultHttpClient(connectTimeout: Long, requestTimeout: Long, config: HttpClientConfig<*>.() -> Unit): HttpClient
Returns a platform-configured Ktor HttpClient. JVM and Android use OkHttp; JS uses the Ktor JS engine. Apps can install per-platform engine config (custom SSL, proxies) via the platform-side httpClientCustomizer hook.