Skip to content
Common interface for Ruby's HTTP clients
Ruby
Pull request Compare This branch is 196 commits behind savonrb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.rvmrc
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
httpi.gemspec

README.md

HTTPI Build Status

HTTPI provides a common interface for Ruby's HTTP libraries.

Documentation | RDoc | Mailing list

Installation

HTTPI is available through Rubygems and can be installed via:

$ gem install httpi

Introduction

require "httpi"

# create a request object
request = HTTPI::Request.new
request.url = "http://example.com"

# and pass it to a request method
HTTPI.get(request)

# use a specific adapter per request
HTTPI.get(request, :curb)

# or specify a global adapter to use
HTTPI.adapter = :httpclient

# and execute arbitary requests
HTTPI.request(:custom, request)

Documentation

Continue reading at httpirb.com

Something went wrong with that request. Please try again.