Liking cljdoc? Tell your friends :D

core.async.http.client

core.async.http.client is an HTTP library wrapping async-http-client. It uses core.async channels to return the response.

Build Status

Installation

core.async.http.client is available from Clojars

With Leiningen/Boot:

[core.async.http.client "0.1.0-SNAPSHOT"]

GET

(http/get "http://site.com/resources/id")

POST

(http/post "http://site.com/resources" {:body "hello"})

Run Cucumber from IntelliJ

Main Class: cucumber.api.cli.Main
Glue: features/step_definitions
Feature Folder: .... core.async.http.client/features (Use full path)
VM Options: -Xbootclasspath/p:features/step_definitions:src:spec/resources:spec
Program Arguments: "--plugin" "pretty"

Inspiration

Got some inspiration from clj-http. I'm trying to keep the API as compatible as possible. Some more inspiration from httpurr to use protocols for multiple clients.

License

Released under the MIT License

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close