Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Async Http Client - Clojure
Clojure Java

This branch is 138 commits behind neotyk:development

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
test-resources
test/http/async/client
.gitignore
LICENSE-2.0.txt
README.markdown
changelog.org
docs.org
index.org
project.clj
sample.clj
setup.org
stylesheet.css
todo.org
twitter-sample.clj

README.markdown

http.async.client - Asynchronous HTTP Client for Clojure

tl;dr

Declare dependency:

(defproject your-project "1.0.0-SNAPSHOT"
  :description "Your project description"
  :dependencies [[org.clojure/clojure "1.2.1"]
                 [org.clojure/clojure-contrib "1.2.0"]
                 [http.async.client "0.3.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 which runs on top of Netty Project.

It requires Clojure 1.2.

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

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.

Something went wrong with that request. Please try again.