HttpRequest::__construct
HttpRequest constructor
&reftitle.description;
public
voidHttpRequest::__construct
stringurl
intrequest_method = HTTP_METH_GET
arrayoptions
Instantiate a new HttpRequest object.
&reftitle.parameters;
url
the target request url
request_method
the request method to use
options
an associative array with request options
&reftitle.errors;
Throws HttpException.