https://kotlinlang.org logo
#http4k
Title
# http4k
d

dave

11/17/2021, 7:40 AM
Morning! We've upgraded your favourite HTTP library to the newly released Kotlin 1.6.0, and taken the chance to remove all of the existing deprecations in the source. As ever, if you're upgrading from an older version, we recommend going to the latest non-breaking version (4.16.3.0) first and dealing with any deprecations before taking the leap to the new one 🎉 Version v4.17.0.0 available now in Maven Central! 🎉 https://www.http4k.org/changelog/#v41700
🎉 1
👍 4
🙌 1
j

Jordan Terrell

11/17/2021, 2:43 PM
c

christophsturm

11/18/2021, 9:32 AM
imo thats not 100% correct, both undertow and jetty, and okhttp have non blocking modes that would benefit greatly from coroutines.
1
f

fredrik.nordin

11/18/2021, 9:39 AM
If all you want is non-blocking behaviour, just use a Loom based JVM, which means you still can write your code in familiar style, but still benefit from virtual threads. Works perfectly with Jetty server and/or Apache client, with setup needed to use the correct thread factories in your code. Of course there are still many other reason why you would want to use coroutines to manage the data flow, so I'm not saying you wouldn't want to use them.