big update's coming
[mdref/mdref-http] / http / Client / Request / setContentType.md
1 # http\Client\Request http\Client\Request::setContentType(string $content_type)
2
3 Set the MIME content type of the request message.
4
5 ## Params:
6
7 * string $content_type
8 The MIME type used as "Content-Type".
9
10 ## Returns:
11
12 * http\Client\Request, self.
13
14 ## Throws:
15
16 * http\Exception\InvalidArgumentException
17 * http\Exception\UnexpectedValueException