PHP Classes

File: src/MethodDiscoverableInterface.php

Recommend this page to a friend!
  Classes of Till Wehowski   PHP JSON RPC Discoverable Server   src/MethodDiscoverableInterface.php   Download  
File: src/MethodDiscoverableInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP JSON RPC Discoverable Server
Implements a JSON RPC server that is discoverable
Author: By
Last change:
Date: 2 years ago
Size: 539 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

namespace
frdlweb\Api\Rpc;

use
stdClass;

/**
 * Contract for JSON-RPC 2.0 procedures.
 */
interface MethodDiscoverableInterface extends \UMA\JsonRpc\Procedure
{
    public function
discover(MethodDiscoverableInterface $DiscoverMethod) : void;
    public function
getResultSpec(): ?\stdClass;
    public function
getSummary(): ?string;
    public function
getDescription(): ?string;
    public function
getLinks(): ?array;
    public function
getExamples(): ?array;
    public function
getParametersSpec(): ?array;
}