initialize
[mdref/mdref-http] / http / Env / getRequestBody.md
1 # static http\Message\Body http\Env::getRequestBody([string $body_class_name])
2
3 Retreive the current HTTP request's body.
4
5 ## Parameters:
6
7 * Optional ```string $body_class_name```
8 A user class extending http\Body.
9
10 ## Returns:
11
12 * ```http\Message\Body``` instance representing the request body
13
14 ## Throws:
15
16 * http\Exception