summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/php_server/src/Service/EchoInterface.php
blob: 5f336ace4bea53871c6ed97687c55b5424155b22 (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/grpc). DO NOT EDIT!
# source: service.proto
 
namespace Service;

use Spiral\GRPC;

interface EchoInterface extends GRPC\ServiceInterface
{
    // GRPC specific service name.
    public const NAME = "service.Echo"; 

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