Samuel
10/02/2024, 4:53 AM3.0.0-rc-1
and support all targets (including desktop, web, Android, iOS).
Would be nice to just import something rather than have expect
/ actual
. Alternatively can someone post more examples? - E.g., on WASM the this
is undefined, so I need to do:
actual fun httpClient(config: HttpClientConfig<*>.() -> Unit): HttpClient {
return HttpClient(CIO) { engine { } }
}
jamshedalamqaderi
10/02/2024, 4:55 AMHttpClient{}
without the engine argument. So, it will pick the engine from dependenciesSamuel
10/02/2024, 5:35 AMAleksei Tirman [JB]
10/02/2024, 7:43 AM