X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv%2FgetRequestBody.md;h=fff03402a93c4ed4d50f3092f048f21bd477200e;hb=HEAD;hp=eaadc0d5058301155bd8d13ff4f9913c9f6e2d4a;hpb=fb2ab0c8596f274acb2a3aea76f97c895ee2af34;p=mdref%2Fmdref-http diff --git a/http/Env/getRequestBody.md b/http/Env/getRequestBody.md index eaadc0d..fff0340 100644 --- a/http/Env/getRequestBody.md +++ b/http/Env/getRequestBody.md @@ -1,11 +1,11 @@ # static http\Message\Body http\Env::getRequestBody([string $body_class_name]) -Retreive the current HTTP request's body. +Retrieve the current HTTP request's body. -## Parameters: +## Params: * Optional string $body_class_name - A user class extending http\Body. + A user class extending http\Message\Body. ## Returns: @@ -13,4 +13,5 @@ Retreive the current HTTP request's body. ## Throws: -* http\Exception +* http\Exception\InvalidArgumentException +* http\Exception\UnexpectedValueException