Sha256: 9c2d095a36a9a1d27a2a0422a43725328e13521ee6c554953ddfd848ec02880d

Contents?: true

Size: 420 Bytes

Versions: 7

Compression:

Stored size: 420 Bytes

Contents

module Ethon
  module Curls

    # This module contains the available proxy types.
    module HttpVersions

      # Return http versions.
      #
      # @example Return http versions.
      #   Ethon::Curl.http_versions
      #
      # @return [ Hash ] The http_versions.
      def http_versions
        {
          :none => 0,
          :httpv1_0  => 1,
          :httpv1_1  => 2
        }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ethon-0.5.12 lib/ethon/curls/http_versions.rb
ethon-0.5.11 lib/ethon/curls/http_versions.rb
ethon-0.5.10 lib/ethon/curls/http_versions.rb
ethon-0.5.9 lib/ethon/curls/http_versions.rb
ethon-0.5.8 lib/ethon/curls/http_versions.rb
ethon-0.5.7 lib/ethon/curls/http_versions.rb
ethon-0.5.6 lib/ethon/curls/http_versions.rb