public function ResponseInterface::setCharset in RESTful 7.2
Sets the response charset.
Parameters
string $charset Character set:
1 method overrides ResponseInterface::setCharset()
- Response::setCharset in src/
Http/ Response.php - Sets the response charset.
File
- src/
Http/ ResponseInterface.php, line 109 - Contains \Drupal\restful\Http\ResponseInterface.
Class
Namespace
Drupal\restful\HttpCode
public function setCharset($charset);