You are here

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

ResponseInterface

Namespace

Drupal\restful\Http

Code

public function setCharset($charset);