No description
9b55ed31b6
This commit enables http clients to optionally configure a connect and/or socket timeout for requests. For persistent clients, the timeout values can only be configured at the client and not a per-request level. Non-persistent client requests support the configuration of these timeouts. This commit also bumps a few dependencies - tk-jetty9 to 1.2.0, trapperkeeper to 1.10, ssl-utils to 0.8.0, and clojure to 1.6.0 - and adds the 'test' tk-jetty9 library as a dev dependency for testing. |
||
---|---|---|
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.