No description
ecad9f730a
Previously, anything that called `JavaClient/createClient` performed the same coercion on the client options before passing them in as the argument. This commit refactors `createClient` to do this coercion itself, thereby removing a bunch of duplication. Also, remove the `common/Client` schema and replace it with the `HttpAsyncClient` interface, and remove an unnecessary call to `.start` in the clojure `create-client`. |
||
---|---|---|
dev-resources | ||
doc | ||
ext/travisci | ||
jenkins | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
project.clj | ||
README.md |
puppetlabs/http-client
This is a wrapper around the Apache HttpAsyncClient library providing some extra functionality for configuring SSL in a way compatible with Puppet.
Installation
Add the following dependency to your project.clj
file:
Details
Async versions of the http methods are exposed in puppetlabs.http.client.async, and synchronous versions are in puppetlabs.http.client.sync. For information on using these namespaces, see the page on making requests with clojure clients.
Additionally, this library allows you to make requests using Java clients. For information on how to do this, see the page on making requests with java clients.
Support
We use the Trapperkeeper project on JIRA for tickets on clj-http-client, although Github issues are welcome too.