You are here

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

Response

Namespace

Drupal\restful\Http

Code

public function setCharset($charset) {
  $this->charset = $charset;
}