X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv%2FRequest%2F__construct.md;h=19ab5a1633d25d82d2323b2f89922f0d7a9a0ee1;hb=a80a94211d943b9903d9d36ebc62320a3673f784;hp=307d73aa014ab29e1ab21a71a64eadc416d9ea6b;hpb=fb2ab0c8596f274acb2a3aea76f97c895ee2af34;p=mdref%2Fmdref-http diff --git a/http/Env/Request/__construct.md b/http/Env/Request/__construct.md index 307d73a..19ab5a1 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 paramters ($\_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