Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The HTTP toolkit for Ruby
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
examples
lib
spec
.gitignore
.rspec
.travis.yml
.yardopts
Gemfile
Gemfile.devtools
Procfile
README.md
Rakefile
UNLICENSE
httpkit.gemspec

README.md

The HTTP toolkit for Ruby Build Status Code Climate Coverage Status

HTTPkit is a Ruby toolkit for building HTTP clients and servers, as well as compositions of them.

  • #1 feature: readable, high-quality, extendable code with 66.81% mutation coverage (wip)
  • #2 feature: sophisticated request and response streaming
  • #3 feature: compatible with Rack, Faraday, and Webmachine for Ruby (todo)
  • #4 feature: concurrenct or non-concurrent
    • Non-concurrent using one-off EventMachine reactor (clients only)
    • Evented using EventMachine
    • Synchronously evented using EventMachine and Fibers
    • Threaded using Celluloid (todo)

Note: The master branch contains the latest development effort. Look at the 0.5.x branch for stable, but very old releases. HTTPkit used to be called Hatetepe.

Installation

Add this line to your application's Gemfile:

gem 'httpkit'

And then execute:

$ bundle

Or install it yourself as:

$ gem install httpkit

Usage

Code examples

API Reference

To do

Here: https://trello.com/b/OoxEq1ze/httpkit

License

HTTPkit is free and unencumbered public domain software. For more information, see unlicense.org or the accompanying UNLICENSE file.

Contributing

  1. Fork it
  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 new Pull Request
Something went wrong with that request. Please try again.