79ca97e92c1e4322c731150713bb00c5033b6429
[mdref/mdref-http] / http / Env / Response / setContentType.md
1 # http\Env\Response http\Env\Response::setContentType(string $content_type)
2
3 Set the MIME content type of the response.
4
5 ## Params:
6
7 * string $conten_type
8 The response's content type.
9
10 ## Returns:
11
12 * http\Env\Response, self.
13
14 ## Throws:
15
16 * http\Env\InvalidArgumentException