1 # void http\Client\Request::__construct([string $meth = NULL[, string $url = NULL[, array $headers = NULL[, http\Message\Body $body = NULL]]]])
3 Create a new client request message to be enqueued and sent by http\Client.
7 * Optional string $meth = NULL
9 * Optional string $url = NULL
11 * Optional array $headers = NULL
13 * Optional http\Message\Body $body = NULL
18 * http\Exception\InvalidArgumentException
19 * http\Exception\UnexpectedValueException
24 $request = new http\Client\Request("GET", "http://php.net/");