oxidmod/json-rpc-server

View on GitHub
src/JsonRpcServer/RequestHandlerInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Oxidmod\JsonRpcServer;

use Oxidmod\JsonRpcServer\Request\Request;

interface RequestHandlerInterface
{
    /**
     * @param Request $request
     * @return ResponseInterface
     */
    public function handle(Request $request): ResponseInterface;

    public function getSupportedMethod(): string;
}