puppy

API DOC

Http Client based on platform http api.

Inspire from puppy nim

Status

Feature

Limit

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