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 call it directly if you‘d like to use a method not supported by the main API. For example:
RestClient::Request.execute(:method => :head, :url => 'http://example.com')
Mandatory parameters:
Optional parameters (have a look at ssl and/or uri for some explanations):
Redirect | = | RestClient::Redirect |
Unauthorized | = | RestClient::Unauthorized |
RequestFailed | = | RestClient::RequestFailed |
args | [R] | |
cookies | [R] | |
headers | [R] | |
max_redirects | [R] | |
method | [R] | |
open_timeout | [R] | |
password | [R] | |
payload | [R] | |
processed_headers | [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] |