Class Typhoeus::Request
In: lib/typhoeus/request.rb
Parent: Object

Methods

Attributes

auth_method  [RW] 
body  [RW] 
cache_timeout  [RW] 
connect_timeout  [RW] 
disable_ssl_peer_verification  [RW] 
follow_location  [RW] 
headers  [W] 
max_redirects  [RW] 
method  [RW] 
params  [RW] 
password  [RW] 
proxy  [RW] 
response  [RW] 
ssl_cacert  [RW] 
ssl_capath  [RW] 
ssl_cert  [RW] 
ssl_cert_type  [RW] 
ssl_key  [RW] 
ssl_key_password  [RW] 
ssl_key_type  [RW] 
timeout  [RW] 
url  [R] 
user_agent  [RW] 
user_agent  [RW] 
username  [RW] 
verbose  [RW] 

Public Class methods

Initialize a new Request

Options:

  • url : Endpoint (URL) of the request
  • options : A hash containing options among :

** +:method+ : :get (default) / :post / :put ** +:params+ : params as a Hash ** +:body+ ** +:timeout+ : timeout (ms) ** +:connect_timeout+ : connect timeout (ms) ** +:headers+ : headers as Hash ** +:user_agent+ : user agent (string) ** +:cache_timeout+ : cache timeout (ms) ** +:follow_location ** +:max_redirects ** +:proxy ** +:disable_ssl_peer_verification ** +:ssl_cert ** +:ssl_cert_type ** +:ssl_key ** +:ssl_key_type ** +:ssl_key_password ** +:ssl_cacert ** +:ssl_capath ** +:verbose ** +:username ** +:password ** +:auth_method

Public Instance methods

[Validate]