Module: Philiprehberger::HttpClient
- Defined in:
- lib/philiprehberger/http_client.rb,
lib/philiprehberger/http_client/pool.rb,
lib/philiprehberger/http_client/cache.rb,
lib/philiprehberger/http_client/client.rb,
lib/philiprehberger/http_client/errors.rb,
lib/philiprehberger/http_client/metrics.rb,
lib/philiprehberger/http_client/retries.rb,
lib/philiprehberger/http_client/version.rb,
lib/philiprehberger/http_client/response.rb,
lib/philiprehberger/http_client/multipart.rb,
lib/philiprehberger/http_client/connection.rb,
lib/philiprehberger/http_client/cookie_jar.rb,
lib/philiprehberger/http_client/body_encoder.rb
Defined Under Namespace
Modules: BodyEncoder, Connection, Multipart, Retries Classes: Cache, Client, ConfigurationError, CookieJar, Error, HttpError, Metrics, NetworkError, Pool, Response, TimeoutError
Constant Summary collapse
- VERSION =
'0.8.2'
Class Method Summary collapse
-
.new(**options) ⇒ Client
Convenience constructor.
-
.open {|Client| ... } ⇒ Object
Block form — creates a client, yields it, and ensures cleanup.