none known
-
allow to pass a logger -
add logger.info when starting a http call -
add logger.info when finishing a successful http call -
include the total_time of the requests in the log -
add (example) to README - add logger.warn / .error for error cases (?)
- streamline log message
-
allow to pass custom deserializer -
use custom deserializer in #parsed_body instead of default JSON parsing -
add example to README
-
allow to queue multiple requests -
execute (up to 200) requests in parallel - allow to pass one proc / block (for all requests) to use as on_complete handler for each request
- allow to pass one proc / block per requests) to use as on_complete handler
- add example to README
-
add a simple (Sinatra) server for testing -
run (all?) tests against the server (with capybara_discoball) - make server also available for console testing
- add example to README
- Determine by parameter if 3xx Redirects should be handled as an Error or not
-
Add a longer description to the gemspec file - Refactor README to explain simple use case vs. all the powerful options?
-
allow to pass object to collect metrics for monitoring-
request URL -
request HTTP method -
request response code -
request datetime -
request runtime -
custom context information per request
-
-
add example to README
- accept_encoding: "gzip"
- connecttimeout: 1
- cookiefile: "/path/to/file"
- cookiejar: "/path/to/file"
- followlocation: true
- forbid_reuse: true
- memoize: false
- ssl_verifyhost: 0
- ssl_verifypeer: false
- verbose: true
- Cache adapters
- or enable to access the Typhoeos directly through Chimera?
- add example to README
- add example to README
- enable to pass on_headers, on_body, on_complete procs
- add example to README
- make Connection#default_headers configurable
- allow to set default_headers via ENV vars
- give example how to use default_headers (e.g. request_id)
- explain in README how to benefit from this gem in a given setting
-
optional per connection or call -
add example to README
-
allow to set custom timeout per connection -
allow to set custom timeout per call -
add (example) to README
-
rename module to have unique namespace -
release to rubygems to add to the plethora of similar gems -
make repo public -
hook up Travis-CI -
ensure it runs with Ruby 2.4 and newer
- either leverage Hydra to retry failed calls
- configure number of retries
- configure delay between retries
- retry idempotent calls GET, PUT, DELETE, HEAD automatically
- maybe implement retries with wait and Redis (external dependency!)
- or document in README how to build a retry mechanism
- allow to queue multiple requests
- execute (up to 5) queued requests
- allow to pass a on_handler proc (per request) that could involve queueing new requests
- or just explain how to code that yourself?
- add example to README
- implement with different strategies
- max concurrent requests
- max requests in fixed time frame
- max requests in sliding time window
- implement counters in Redis (external dependency!)
- add metrics / monitoring
- don't add throttling?
- add example to README