Sha256: bf1173fb9fa93454ca46fdacc872a737cf1d53a169b6c61618cf020bc2c44f17

Contents?: true

Size: 455 Bytes

Versions: 6

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true

module HTTP
  class Feature
    def initialize(opts = {}) # rubocop:disable Style/OptionHash
      @opts = opts
    end

    def wrap_request(request)
      request
    end

    def wrap_response(response)
      response
    end
  end
end

require "http/features/auto_inflate"
require "http/features/auto_deflate"
require "http/features/logging"
require "http/features/instrumentation"
require "http/features/normalize_uri"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
http-4.4.1 lib/http/feature.rb
http-4.4.0 lib/http/feature.rb
http-4.3.0 lib/http/feature.rb
http-4.2.0 lib/http/feature.rb
http-4.1.1 lib/http/feature.rb
http-4.1.0 lib/http/feature.rb