public function Response::setCharset in RESTful 7.2
Sets the response charset.
Parameters
string $charset Character set:
Overrides ResponseInterface::setCharset
File
- src/
Http/ Response.php, line 342 - Contains \Drupal\restful\Http\Response.
Class
Namespace
Drupal\restful\HttpCode
public function setCharset($charset) {
$this->charset = $charset;
}