Skip to content

diamondap/http.async.client

 
 

Repository files navigation

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.3.0"]
                 [http.async.client "0.4.1"]])

Require:

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

GET resource:

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

Information over http.async.client

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

It requires Clojure 1.3, works with 1.4-beta1.

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

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

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

Changelog.

Packages

No packages published

Languages

  • Clojure 97.3%
  • Java 2.7%