Fork me on GitHub
#core-async
<
2019-05-23
>
skykanin18:05:33

Are their any Clojure http client libraries which support core.async?

noisesmith18:05:02

aleph uses manifold that trivially integrates with core.async

noisesmith18:05:21

but really you can use any async http lib by calling put! in a callback

danboykis18:05:38

@nicholas.jaunsen i've had success with http-kit and core.async using put! in the callback function

noisesmith18:05:53

I'd pick a good http lib first, since the integration with core.async is so trivial

noisesmith18:05:09

it's not like they can prepackage any useful complex flow

danboykis18:05:07

i am very happy with http-kit

hiredman18:05:59

I am very skeptical that anyone actually needs an async http client unless you are writing a proxy

ghadi18:05:40

java.net.http works well -- you can use a callback to put the result into a channel