(PECL pecl_http >= 0.10.0)
HttpRequest::__construct — HttpRequest constructor
Instantiate a new HttpRequest object.
the target request url
the request method to use
an associative array with request options
Throws HttpException.