Nice! Congrats!
Also, do you know if OkHttp will migrate to KMP?
Nice! Congrats!
Also, do you know if OkHttp will migrate to KMP?
I’m not involved with OkHttp but looks like support for Kotlin Multiplatform was intentionally dropped in 5.0.0-alpha13.
> We planned to support multiplatform in OkHttp 5.0, but after building it, we weren’t happy with the implementation trade-offs. We can’t use our HTTP client engine on Kotlin/JS, and we weren’t prepared to build a TLS API for Kotlin/Native.
>
> We’d prefer a multiplatform HTTP client API that’s backed by OkHttp on Android and JVM, and other engines on other platforms. Ktor does this pretty well today!
https://square.github.io/okhttp/changelogs/changelog/#version-500-alpha13
However, there is an open issue for at least shipping some KMP components.
Yeah, the issue with Ktor is that it is quite focus on the server-side and becomes quite complex for simple clients. We will see.