could you recommend a clojure http client library compatible with graalvm? I found clj-http-lite, are there more libraries?
@jlle I recommend clj-http-lite. clj-http doesn't really work well with GraalVM without hacks and even then, compile time and binary size aren't that good. Another alternative is babashka.curl, which is a thin wrapper around curl with a Clojure idiomatic interface
@borkdude I didn't notice that is possible to use babashka.curl as a library. I see that you have a hato-native fork. Is it usable or was it just an experiment?
it is barely usable, it's quite heavy on native-image analysis, I wouldn't use it myself
it does work, but 📈
Understand, I think I'll follow your recommendation and go with clj-http-lite, thanks!
One thing that doesn't work with clj-http-lite is PATCH, but that does work with babashka.curl.
Has anyone tried the new jdk 11 HttpClient?
I just tried it, but I'm getting compiling errors with a basic request
haven't tried with GraalVM but in general I like the JDK11 HttpClient