X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv%2FRequest%2F__construct.md;h=310e7bb5df0831a1a7c5bef58243764a4fe67eab;hb=HEAD;hp=307d73aa014ab29e1ab21a71a64eadc416d9ea6b;hpb=fb2ab0c8596f274acb2a3aea76f97c895ee2af34;p=mdref%2Fmdref-http diff --git a/http/Env/Request/__construct.md b/http/Env/Request/__construct.md index 307d73a..310e7bb 100644 --- a/http/Env/Request/__construct.md +++ b/http/Env/Request/__construct.md @@ -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