Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.99 KB

README.markdown

File metadata and controls

58 lines (41 loc) · 1.99 KB

http.async.client - Asynchronous HTTP Client for Clojure

Master: Master - Build Status Development: Development - Build Status

tl;dr

Declare dependency:

(defproject your-project "1.0.0-SNAPSHOT"
  :description "Your project description"
  :dependencies [[org.clojure/clojure "1.4.0"]
                 [http.async.client "0.5.2"]])

Require:

(ns sample (:require [http.async.client :as http]))

GET resource:

(with-open [client (http/create-client)]
  (let [response (http/GET client "http://neotyk.github.com/http.async.client/")]
    (-> response
      http/await
      http/string)))

Information over http.async.client

http.async.client is based on Asynchronous Http Client for Java.

It runs with Clojure 1.3, development goes against Clojure 1.4.

For more documentation refer to docs and for API to doc.

Discussion forum.

If you would like to help please look at to do or submit a ticket.

http.async.client is using YourKit.

http.async.client is distributed under Apache License, Version 2.0.

Changelog.

Contributors.