public function Response::getHeaders in JSON-RPC 2.x
The headers for this response.
Return value
\Symfony\Component\HttpFoundation\HeaderBag The header bag object.
File
- src/
Object/ Response.php, line 180
Class
- Response
- Response object to help implement JSON RPC's spec for response objects.
Namespace
Drupal\jsonrpc\ObjectCode
public function getHeaders() : HeaderBag {
return $this->headers;
}