ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Common
/
JsonRpc
/
Union
/
JSONRPCResponseInterface.php
ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Common
/
JsonRpc
/
Union
Last commit date
JSONRPCMessageInterface.php
1 month ago
JSONRPCResponseInterface.php
1 month ago
JSONRPCResponseInterface.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace WP\McpSchema\Common\JsonRpc\Union; |
| 6 | |
| 7 | use WP\McpSchema\Common\JsonRpc\Union\JSONRPCMessageInterface; |
| 8 | |
| 9 | /** |
| 10 | * A response to a request, containing either the result or error. |
| 11 | * |
| 12 | * Union type members: |
| 13 | * - JSONRPCResultResponse |
| 14 | * - JSONRPCErrorResponse |
| 15 | * |
| 16 | * @mcp-domain Common |
| 17 | * @mcp-subdomain JsonRpc |
| 18 | * @mcp-version 2025-11-25 |
| 19 | */ |
| 20 | interface JSONRPCResponseInterface extends JSONRPCMessageInterface |
| 21 | { |
| 22 | } |
| 23 |