lib/ethon/curls/constants.rb
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