high-optician-2097
jvm-ktor
Platform: Java Virtual Machine. HTTP client: Ktor 1.6.7. JSON processing: Gson, Jackson (default).
jvm-okhttp4
[DEFAULT] Platform: Java Virtual Machine. HTTP client: OkHttp 4.2.0 (Android 5.0+ and Java 8+). JSON processing: Moshi 1.8.0.
jvm-spring-webclient
Platform: Java Virtual Machine. HTTP: Spring 5 (or 6 with useSpringBoot3 enabled) WebClient. JSON processing: Jackson.
jvm-spring-restclient
Platform: Java Virtual Machine. HTTP: Spring 6 RestClient. JSON processing: Jackson.
jvm-retrofit2
Platform: Java Virtual Machine. HTTP client: Retrofit 2.6.2.
multiplatform
Platform: Kotlin multiplatform. HTTP client: Ktor 1.6.7. JSON processing: Kotlinx Serialization: 1.2.1.
jvm-volley
Platform: JVM for Android. HTTP client: Volley 1.2.1. JSON processing: gson 2.8.9
jvm-vertx
Platform: Java Virtual Machine. HTTP client: Vert.x Web Client. JSON processing: Moshi, Gson or Jackson.gray-library-49237
11/19/2024, 3:17 AMspring ecosystem, jvm-spring-webclient and jvm-spring-restclient would be recommended. Springboot recommends using spring-webclient.
Retrofit uses okhttp in the hood only difference it is typesafe compared to okhttp.
Ktor fits more into the kotlin ecosystem in the sense it uses coroutines.
I've used vertx before but not sure i like it. Fits more into the eventloop threading model.
For the rest, i have not used any of them.
If it's simplicity, okhttp4, spring-webclient and retrofit2.
Since it's kotlin android and pc, then ktor should be your choice.high-optician-2097
gray-library-49237
11/19/2024, 4:52 PMhigh-optician-2097
gray-library-49237
11/19/2024, 5:34 PMhigh-optician-2097
gray-library-49237
11/19/2024, 6:56 PMhigh-optician-2097
gray-library-49237
11/19/2024, 9:09 PMsh.ory
then the artifact could be prepended with the package that was built like kratos-jvm-ktor-client
another option could be
sh.ory.<kratos|keto>
then the artifact could jvm-volley-clienthigh-optician-2097
high-optician-2097
gray-library-49237
11/20/2024, 3:46 PMgray-library-49237
11/20/2024, 3:49 PMhigh-optician-2097
gray-library-49237
11/20/2024, 3:58 PM