summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/simple/TestSimple/SimpleServiceInterface.php
blob: f9e84bf7394bff37753f9d40223132e0fddeb4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
# Generated by the protocol buffer compiler (spiral/php-grpc). DO NOT EDIT!
# source: simple/simple.proto

namespace TestSimple;

use Spiral\GRPC;

interface SimpleServiceInterface extends GRPC\ServiceInterface
{
    // GRPC specific service name.
    public const NAME = "testSimple.SimpleService";

    /**
    * @param GRPC\ContextInterface $ctx
    * @param SimpleMessage $in
    * @return SimpleMessage
    *
    * @throws GRPC\Exception\InvokeException
    */
    public function SimpleMethod(GRPC\ContextInterface $ctx, SimpleMessage $in): SimpleMessage;
}