Skip to content

lost22git/puppy.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppy

API DOC

Http Client based on platform http api.

Inspire from puppy nim

Status

  • 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

  1. Add the dependency to your shard.yml:

    dependencies:
      puppy:
        github: lost22git/puppy.cr
  2. 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

  1. Fork it (https://github.com/lost22git/puppy.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • lost - creator and maintainer

Releases

No releases published

Packages

No packages published