【文件属性】:
文件名称:swoft-rpc-client:与Swoft RPC Server通信的Client扩展
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-01 00:25:37
PHP
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
【文件预览】:
swoft-rpc-client-master
----.php_cs(909B)
----.gitignore(36B)
----.phpstorm.meta.php(557B)
----src()
--------SwooleClient.php(2KB)
--------Exceptions()
--------Client.php(2KB)
----.travis.yml(1KB)
----composer.json(912B)
----README.md(1KB)
----phpunit.xml(521B)
----tests()
--------.env.example(1KB)
--------server.php(146B)
--------bootstrap.php(691B)
--------.env(1KB)
--------runtime()
--------Testing()
--------config()
--------Cases()
--------_ci()