tyiu on Nostr: I’m not involved with OkHttp but looks like support for Kotlin Multiplatform was ...
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.
https://github.com/square/okhttp/issues/8578
> 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.
https://github.com/square/okhttp/issues/8578