httpurr
httpurr copied to clipboard
A ring-inspired, promise-returning, simple Clojure(Script) HTTP client.
```clj (require '[httpurr.client.node :as node]) (require '[promesa.core :as p]) (defn decode [response] (update response :body #(js->clj (js/JSON.parse %)))) (defn get! [url] (p/then (node/get url) decode)) ``` This is an example...
I noticed a handful of funcool's docs pages had broken styling, this should patch things up!
The documentation site, despite its URL of https://funcool.github.io/httpurr/latest/, does not document the latest version (it documents v1.1.0). This just tripped me up. I don't know how to fix that, but...
Travis builds were not working for either JDK 8 or JDK 9. 1. JDK 8 builds were breaking because Travis now defaults to using Xenial unless specified and this release...
...and I'm guessing maybe when it can't connect to the host, but I haven't tested that - it looks like it doesn't like not getting a response. ![simulator screen shot...