Hello everyone,

I am happy to announce the first release (0.1.0) of httpurr[1]: a
ring-inspired, promise-returning, simple ClojureScript HTTP client. Take
a look at the docs[2] to see what's in the box.

A few reasons that made me write yet another HTTP client library:

- Promises are a natural fit for HTTP's request-response: they contain
either an eventual value (the response) or an error value. CSP channels
lack the notion of errors and callbacks/errbacks are cumbersome to
compose.

Sits on top of promesa[3], clojurey wrapper for the most performant JS
promise library. It also provides integration with cats[4], which gives
us core.async-like sugar for sequencing requests and applicative let
syntax for maximizing concurrency and minimizing latency.

- A ring-inspired data based API, requests and responses are just maps.
This makes easy to create and transform requests piping various
transformations together and the same is true for responses.

- Pluggable client implementation.

- No automatic encoding/decoding nor query string generation.

Feedback is very welcome.

Cheers,

Al

[1]: https://github.com/funcool/httpurr
[2]: https://funcool.github.io/httpurr/latest/
[3]: https://github.com/funcool/promesa
[4]: https://github.com/funcool/cats

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to