module Ethon::Curls::HttpVersions

This module contains the available proxy types.

Public Instance Methods

http_versions() click to toggle source

Return http versions.

@example Return http versions.

Ethon::Curl.http_versions

@return [ Hash ] The http_versions.

# File lib/ethon/curls/http_versions.rb, line 13
def http_versions
  {
    :none => 0,
    :httpv1_0  => 1,
    :httpv1_1  => 2
  }
end