class Ethon::Easy
def initialize(options = {})
-
(Easy)
- A new Easy.
Options Hash:
(**options)
-
:verbose
(Boolean
) -- See -
:userpwd
(String
) -- See -
:useragent
(String
) -- See -
:url
(String
) -- See -
:upload
(Boolean
) -- See -
:timeout
(Integer
) -- See -
:sslversion
(String
) -- See -
:sslkeytype
(String
) -- See -
:sslkey
(String
) -- See -
:sslcerttype
(String
) -- See -
:sslcert
(String
) -- See -
:ssl_verifypeer
(Boolean
) -- See -
:ssl_verifyhost
(Integer
) -- See -
:readfunction
(String
) -- See -
:readdata
(String
) -- See -
:put
(String
) -- See -
:proxytype
(String
) -- See -
:proxyauth
(String
) -- See -
:proxy
(String
) -- See -
:postfieldsize
(Integer
) -- See -
:nosignal
(Boolean
) -- See -
:nobody
(Boolean
) -- See -
:maxredirs
(Integer
) -- See -
:interface
(String
) -- See -
:infilesize
(Integer
) -- See -
:httppost
(String
) -- See -
:httpget
(Boolean
) -- See -
:httpauth
(String
) -- See -
:followlocation
(Boolean
) -- See -
:dns_cache_timeout
(Integer
) -- See -
:customrequest
(String
) -- See -
:copypostfields
(String
) -- See -
:connecttimeout
(Integer
) -- See -
:capath
(String
) -- See -
:cainfo
(String
) -- See
Parameters:
-
options
(Hash
) -- The options to set.
Other tags:
- Example: Create a new Easy. -
def initialize(options = {}) Curl.init ObjectSpace.define_finalizer(self, self.class.finalizer(self)) set_attributes(options) end