public property JsonRpcMethod::$responseHeaders in JSON-RPC 2.x
Key value pairs for setting headers in the response.
Batch requests will only contain the headers appearing on **all** of the responses involved.
Type: array
File
- src/
Annotation/ JsonRpcMethod.php, line 64
Class
- JsonRpcMethod
- Defines a JsonRpcParameterDefinition annotation object.
Namespace
Drupal\jsonrpc\AnnotationCode
public $responseHeaders = [];