You are here

protected function JsonRpcMethodBase::currentRequest in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/JsonRpcMethodBase.php \Drupal\jsonrpc\Plugin\JsonRpcMethodBase::currentRequest()

The RPC request for the current invocation.

Return value

\Drupal\jsonrpc\Object\Request The request object.

File

src/Plugin/JsonRpcMethodBase.php, line 45

Class

JsonRpcMethodBase
Base implementation for JSON RPC methods.

Namespace

Drupal\jsonrpc\Plugin

Code

protected function currentRequest() {
  return $this->rpcRequest;
}