FORKED to make adamwynne/twitter-api work with Clojure 1.9.0-alpha14. Ideally, the twitter-api should be updated to use dependencies that will work with Clojure 1.9.
Declare dependency:
(defproject your-project "1.0.0-SNAPSHOT"
:description "Your project description"
:dependencies [[org.clojure/clojure "1.6.0"]
[http.async.client "0.5.3"]])
Require:
(ns sample (:require [http.async.client :as http]))
GET resource:
(with-open [client (http/create-client)]
(let [response (http/GET client "http://cch1.github.com/http.async.client/")]
(-> response
http/await
http/string)))
http.async.client is based on Asynchronous Http Client for Java, whose discussion forum is available here.
It runs with Clojure 1.4.0, 1.5.1 and 1.6.0. Development is against Clojure 1.6.0.
For more documentation refer to docs.
Auto-generated API documentation is available here.
If you would like to help please look at the to do list or submit a ticket.
http.async.client is distributed under Apache License, Version 2.0.