Sha256: fc7de8c5a073ec53e7641ad5602c8b828a89695b9ad613eee09d1b926d7f34f7

Contents?: true

Size: 573 Bytes

Versions: 8

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

require "http/parser"

require "http/errors"
require "http/timeout/null"
require "http/timeout/per_operation"
require "http/timeout/global"
require "http/chainable"
require "http/client"
require "http/connection"
require "http/options"
require "http/feature"
require "http/request"
require "http/request/writer"
require "http/response"
require "http/response/body"
require "http/response/parser"

# HTTP should be easy
module HTTP
  extend Chainable

  class << self
    # HTTP[:accept => 'text/html'].get(...)
    alias [] headers
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
http-4.1.1 lib/http.rb
http-4.1.0 lib/http.rb
http-4.0.5 lib/http.rb
http-4.0.4 lib/http.rb
http-4.0.3 lib/http.rb
http-4.0.2 lib/http.rb
http-4.0.1 lib/http.rb
http-4.0.0 lib/http.rb