mdref.json config
[mdref/mdref-http] / http / Env / getRequestBody.md
index eaadc0d5058301155bd8d13ff4f9913c9f6e2d4a..fff03402a93c4ed4d50f3092f048f21bd477200e 100644 (file)
@@ -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