swoft-rpc-client
安装
composer require limingxinleo/swoft-rpc-client
使用
定义客户端
<?php
namespace SwoftTest \ Rpc \ Testing \ Clients ;
use SwoftTest \ Rpc \ Testing \ Lib \ DemoServiceInterface ;
use Swoftx \ Rpc \ Client \ Client ;
/**
* Class DemoService
* @package SwoftTest\Rpc\Testing\Clients
* @method version()
*/
class DemoService extends Client
{
/** @var PoolName */
protected $ name
评论0
最新资源