README.md in ezclient-1.3.0 vs README.md in ezclient-1.4.0
- old
+ new
@@ -41,10 +41,10 @@
- `on_complete` – callback called on request completion
- `on_error` – callback called on request exception
- `on_retry` – callback called on request retry
- `retry_exceptions` – an array of exception classes to retry
- `ssl_context` – ssl context for requests (an `OpenSSL::SSL::SSLContext` instance)
-- `timeout` – timeout for requests in seconds
+- `timeout` – timeout for requests in seconds or hash like `{ read: 5, write: 5, connect: 1 }`
- `follow` - enable following redirects (`true` or hash with options – e.g. `{ max_hops: 1, strict: false}`)
All these options are passed to each request made by this client but can be overriden on per-request basis.
Extra per-request only options are: