robust_http.cr
robust_http
Wrapper around HTTP::Client that automatically handles retries with exponential backoff. Developed and tested with Crystal 0.19.2 on OS X 10.11.4
Installation
Add this to your application's shard.yml
:
dependencies:
robust_http:
github: feifanzhou/robust_http.cr
Usage
require "robust_http"
RobustHTTP.exec(host : String, port, request : HTTP::Request, timeout : Float)
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/feifanzhou/robust_http.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- feifanzhou Feifan Zhou - creator, maintainer
Repository
robust_http.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 8 years ago
- September 18, 2016
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 04:19:41 GMT
Languages