Class RESTian_Http_Agent_Base
A RESTian_Http_Agent represents the internal type of agent that calls HTTP:
'wordpress' for WordPress wp_remote_get() 'php_curl' for PHP's CURL
Having more than one agent allows RESTian to be used outside WordPress.
public
|
|
public
|
#
make_request(
Provides a generic HTTP GET method that can call WordPress' wp_remove_get() if available, or CURL if not. |
public
mixed
|
$agent_type |
|
|
public
boolean
|
$error_num | false |
|
public
boolean
|
$error_msg | false |