Hi all, I've just released Chord 0.5.0 - a library that brings together CLJ/CLJS, core.async and WebSockets (and now AJAX too).
Docs, README and sample projects are on Github at https://github.com/james-henderson/chord The new AJAX syntax looks like this: (ns ... (:require [chord.http :as http] [cljs.core.async :as a]) (:require-macros [cljs.core.async.macros :refer [go]])) (go (let [{:keys [status headers body] :as resp} (a/<! (http/get "/api/endpoint" {:query-params {...} :headers {...} :basic-auth ["user" "pass"] :body ... ;; also :json, :json-kw, :transit-json, ;; :fressian, :str :req-format :edn :resp-format :edn}))] ...)) The AJAX support is quite primitive at the moment - if you'd like more features, etc, let me know! Thanks to Jeff Rose, Luke Snape and Thomas Getgood for their help with this release :) Cheers, James -- 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.
