Sha256: cacf3a9dbdf9ce3ed8f026fda510b39dde4f55d4fd6c1ac3d7cce6afc42bc568

Contents?: true

Size: 417 Bytes

Versions: 7

Compression:

Stored size: 417 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"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
http-4.0.5 lib/http/feature.rb
http-4.0.4 lib/http/feature.rb
http-5.0.0.pre lib/http/feature.rb
http-4.0.3 lib/http/feature.rb
http-4.0.2 lib/http/feature.rb
http-4.0.1 lib/http/feature.rb
http-4.0.0 lib/http/feature.rb