24 lines
602 B
PHP
24 lines
602 B
PHP
<?php
|
|
# Generated by the protocol buffer compiler (roadrunner-server/grpc). DO NOT EDIT!
|
|
# source: resources/proto/pinger.proto
|
|
|
|
namespace App\Services\gRPC\Pinger;
|
|
|
|
use Spiral\RoadRunner\GRPC;
|
|
|
|
interface PingerInterface extends GRPC\ServiceInterface
|
|
{
|
|
// GRPC specific service name.
|
|
public const NAME = "pinger.Pinger";
|
|
|
|
/**
|
|
* @param GRPC\ContextInterface $ctx
|
|
* @param PingRequest $in
|
|
*
|
|
* @return PingResponse
|
|
*
|
|
* @throws GRPC\Exception\InvokeException
|
|
*/
|
|
public function ping(GRPC\ContextInterface $ctx, PingRequest $in): PingResponse;
|
|
}
|