mdref.json config
[mdref/mdref-http] / http / Env / Request / __construct.md
index 307d73aa014ab29e1ab21a71a64eadc416d9ea6b..310e7bb5df0831a1a7c5bef58243764a4fe67eab 100644 (file)
@@ -1,7 +1,16 @@
-# void http\Env\Request::__construct(void)
+# void http\Env\Request::__construct()
 
-Instantiate the server's current HTTP request.
+Create an instance of the server's current HTTP request.
+
+Upon construction, the http\Env\Request acquires http\QueryString instances of query parameters ($\_GET) and form parameters ($\_POST).
+
+It also compiles an array of uploaded files ($\_FILES) more comprehensive than the original $\_FILES array, see http\Env\Request::getFiles() for that matter.
 
 ## Params:
 
 None.
+
+## Throws:
+
+* http\Exception\InvalidArgumentException
+* http\Exception\UnexpectedValueException