public function HandlerInterface::batch in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/HandlerInterface.php \Drupal\jsonrpc\HandlerInterface::batch()
Executes a batch of remote procedure calls.
Parameters
\Drupal\jsonrpc\Object\Request[] $requests: The JSON-RPC requests.
Return value
array The JSON-RPC responses, if any. Notifications are not returned.
Throws
\Drupal\jsonrpc\Exception\JsonRpcException
1 method overrides HandlerInterface::batch()
- Handler::batch in src/
Handler.php - Executes a batch of remote procedure calls.
File
- src/
HandlerInterface.php, line 30
Class
- HandlerInterface
- Interface for the handler.
Namespace
Drupal\jsonrpcCode
public function batch(array $requests);