typo, parameter and type fixes
[mdref/mdref-http] / http / Env / Request / __construct.md
1 # void http\Env\Request::__construct()
2
3 Create an instance of the server's current HTTP request.
4
5 Upon construction, the http\Env\Request acquires http\QueryString instances of query parameters ($\_GET) and form parameters ($\_POST).
6
7 It also compiles an array of uploaded files ($\_FILES) more comprehensive than the original $\_FILES array, see http\Env\Request::getFiles() for that matter.
8
9 ## Params:
10
11 None.
12
13 ## Throws:
14
15 * http\Exception\InvalidArgumentException
16 * http\Exception\UnexpectedValueException