So Ktor Http client with default engines for Andro...
# ktor
r
So Ktor Http client with default engines for Android and iOS doesn’t support mt coroutines and Ktor http client with CIO engine supports mt coroutines but doesn’t support https? Is it this way or am I doing something wrong?
t
The iOS engine should work with mt coroutines in the next version 1.4.3. See: https://github.com/ktorio/ktor/pull/2193
You could build Ktor yourself if you don't want to wait
j
Well I'm pretty sure the android okhttp client supports mt, but I don't know about ios
t
Android okhttp client works fine with mt coroutines
Just to be clear, Ktor 1.4.2 is already compatible with mt coroutines on iOS as long as you only call it from
Dispatchers.Main
. Ktor 1.4.3 will also support other dispatchers like
Dispatchers.Default
on iOS.
r
@Thomas thx for the update, looking forward to 1.4.3 then.