1 # void http\Env\Response::__construct()
3 Create a new env response message instance.
11 * http\Exception\InvalidArgumentException
12 * http\Exception\UnexpectedValueException
17 $res = new http\Env\Response;
18 $res->setContentType("text/plain");
19 $res->getBody()->append("Hello world!\n");
27 Content-Type: text/plain