Class RestClient::Request
In: lib/restclient/exceptions.rb
lib/restclient/request.rb
Parent: Object

This class is used internally by RestClient to send the request, but you can also access it internally if you‘d like to use a method not directly supported by the main API. For example:

  RestClient::Request.execute(:method => :head, :url => 'http://example.com')

Methods

Constants

Redirect = RestClient::Redirect
Unauthorized = RestClient::Unauthorized
RequestFailed = RestClient::RequestFailed

Attributes

cookies  [R] 
headers  [R] 
method  [R] 
open_timeout  [R] 
password  [R] 
payload  [R] 
raw_response  [R] 
ssl_ca_file  [R] 
ssl_client_cert  [R] 
ssl_client_key  [R] 
timeout  [R] 
url  [R] 
user  [R] 
verify_ssl  [R] 

Public Class methods

Public Instance methods

[Validate]