module Ethon::Easy::Http
def http_request(url, action_name, options = {})
- See: Ethon::Easy::Options -
Returns:
-
(void)-
Options Hash:
(**options)-
:headers(Hash) -- Request headers. -
:body(Hash) -- Body hash which -
:params(Hash) -- Params hash which
Parameters:
-
options(Hash) -- The options hash. -
action_name(String) -- The HTTP action name. -
url(String) -- The url.
Other tags:
- Example: Set options for HTTP request. -
def http_request(url, action_name, options = {}) fabricate(url, action_name, options).setup(self) end