Sha256: 9594bbcce593151a15962bc063c1081a3a11009e93f205bea1cce400d0e79d36

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

module Ethon
  module Curl
    # :nodoc:
    VERSION_NOW = 3

    # Flag. Initialize SSL.
    GLOBAL_SSL     = 0x01
    # Flag. Initialize win32 socket libraries.
    GLOBAL_WIN32   = 0x02
    # Flag. Initialize everything possible.
    GLOBAL_ALL     = (GLOBAL_SSL | GLOBAL_WIN32)
    # Flag. Initialize everything by default.
    GLOBAL_DEFAULT = GLOBAL_ALL

    # :nodoc:
    EasyCode = enum(:easy_code, easy_codes)
    # :nodoc:
    MultiCode = enum(:multi_code, multi_codes)

    # :nodoc:
    Option = enum(:option, options.to_a.flatten)
    # :nodoc:
    OptionType = enum(option_types.to_a.flatten)

    # :nodoc:
    InfoType = enum(info_types.to_a.flatten)

    # Info details, refer
    # https://github.com/bagder/curl/blob/master/src/tool_writeout.c#L66 for details
    Info = enum(:info, infos.to_a.flatten)

    # Form options, used by FormAdd for temporary storage, refer
    # https://github.com/bagder/curl/blob/master/lib/formdata.h#L51 for details
    FormOption = enum(:form_option, form_options)

    # :nodoc:
    Auth = enum(auth_types.to_a.flatten)

    # :nodoc:
    Proxy = enum(proxy_types.to_a.flatten)

    # :nodoc:
    SSLVersion = enum(ssl_versions.to_a.flatten)

    # :nodoc:
    MsgCode = enum(:msg_code, msg_codes)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ethon-0.4.2 lib/ethon/curls/constants.rb
ethon-0.4.1 lib/ethon/curls/constants.rb
ethon-0.4.0 lib/ethon/curls/constants.rb