Constructs a new instance of this class.
public __construct ( string $url = null, string $proxy = null, array $helpers = null ) | ||
$url | string | (Optional) The URL to request or service endpoint to query. |
$proxy | string | (Optional) The faux-url to use for proxy settings. Takes the following format: `proxy://user:pass@hostname:port` |
$helpers | array | (Optional) An associative array of classnames to use for request, and response functionality. Gets passed in automatically by the calling class. |