jeyroik/extas-api-jsonrpc

View on GitHub
src/interfaces/api/IApiJsonRpc.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace extas\interfaces\api;

use extas\interfaces\http\IHasJsonRpcRequest;
use extas\interfaces\http\IHasJsonRpcResponse;
use extas\interfaces\IItem;

interface IApiJsonRpc extends IItem, IHasJsonRpcRequest, IHasJsonRpcResponse
{
    public const SUBJECT = 'extas.api.jsonrpc';

    public const FIELD__ENDPOINT = 'endpoint';

    public function getEndpoint(): string;
}