class Patron::Session

def request(action, url, headers, options = {})

Returns:
  • (Patron::Response) -

Other tags:
    See: Patron::Request -

Parameters:
  • options (Hash) -- any additonal setters to call on the Request
  • headers (Hash) -- headers to send along with the request
  • url (String) -- the URL for the request
  • action (#to_s) -- the HTTP verb
def request(action, url, headers, options = {})
  req = build_request(action, url, headers, options)
  handle_request(req)
end