puppy
Http Client based on platform http api.
Inspire from puppy nim
Status
- [x] Windows
- [ ] Linux
- [ ] Macos
Feature
- No openssl required (aka. you can
crystal build -Dwithout_openssl) - Http proxy support
Limit
- No support response body streaming
- More to be discover
Installation
-
Add the dependency to your
shard.yml:dependencies: puppy: github: lost22git/puppy.cr -
Run
shards install
Usage
require "puppy"
response = Puppy.get "https://httpbin.org/status/444"
puts response.body_io.gets_to_end
Development
Run tests
crystal spec --progress
Contributing
- Fork it (https://github.com/lost22git/puppy.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
- lost - creator and maintainer