eaadc0d5058301155bd8d13ff4f9913c9f6e2d4a
[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