【文件属性】:
文件名称:swoole-JsonRPC:use swoole for jsonRpc(运用swoole简单实现jsonRPC)
文件大小:14KB
文件格式:ZIP
更新时间:2021-06-01 15:32:04
PHP
swoole-JsonRPC
use swoole for jsonRpc(运用swoole简单实现jsonRPC)
Requirements
PHP 5.3+
Swoole 1.7.16
Linux, OS X and basic Windows support (Thinks to cygwin)
Installation Swoole
Install from pecl
pecl install swoole
Install from source
sudo apt-get install php5-dev
git clone https://github.com/swoole/swoole-src.git
cd swoole-src
phpize
./configure
make && make install
使用
下载swoole-JsonRPC
解压swoole-JsonRP
【文件预览】:
swoole-JsonRPC-master
----README.md(2KB)
----index.php(176B)
----log()
--------rpc.log(262B)
----LICENSE(11KB)
----Jsonrpc()
--------autoload.php(283B)
--------Config()
--------Protocols()
--------Server.php(6KB)
--------Services()
----client()
--------client.php(889B)
--------RpcClient.php(4KB)