Bruce Hamilton
11/06/2026, 12:29 PMktor-client-defaults
• HTTP/3 support in Netty
See the full explanation for these in What’s new in Ktor 3.6.0
Respond in the 🧵 if there’s anything you love or hate in the release, and we’ll ensure your voice is heard!rkechols
11/06/2026, 6:12 PMktor-client-engine-defaults. I remember in the past being pretty lost as to what engine to configure, and this just takes care of it completely ♥️Paul at Avans Breda
11/09/2026, 8:56 AMBruce Hamilton
11/09/2026, 9:31 AMwestnordost
11/09/2026, 12:23 PMktor-client-defaults but turned around, I already filed an issue about it. In summary, I am not sure if it is a good idea to obscure to developers which client engine is used (see KTOR-10022). In a nutshell: The different engines have different capabilities, different limitations, different bugs (in the wrapper or, in the engine themselves). Hence, it would make sense for developers to know which engines are used. The different client engines also throw different exceptions on connection errors (which may or may not be an oversight/bug, see KTOR-10027), so currently, it is somewhat required to explicitly know which engines are used on which platform.
If I would want to have one http client engine on all platforms, I would just use CIO on all platforms. And I might, in the future. What I am missing a bit is documentation why (currently?) one wouldn’t always want to do that. (E.g. I think the ktor-client-defaults only uses CIO on Android)Bruce Hamilton
11/09/2026, 12:43 PMwestnordost
11/11/2026, 11:44 AMktor-client-android also works on Android, though (ofc).
Regarding TLS 1.2: I by the way switched from the above to ktor-client-cio on Android recently and promptly got issues on Android only because certain servers the app tries to talk with started to only support TLS 1.3 now (ktor-client-android supports TLS 1.3 as far as I know). Basically, the HTTP / TLS capabilities of a multiplatform app are limited by the “weakest link in the chain”. ktor-client-cio not supporting TLS 1.3 becomes ktor-client-defaults not supporting TLS 1.3Bruce Hamilton
11/11/2026, 11:52 AM