Skip to content
官方QQ交流群
技术交流1:87208295   点此加入
技术交流2:787747122   点此加入
官网
云控制台
开放平台
关注微信公众号
代码仓库: 码云

RPC参考

同步 think-worker

think/worker/Http.php ➡️ shiyunWorker/process/HttpServer.php
think/worker/Events.php ➡️ shiyunWorker/process/GatewayEvents.php
think/worker/Server.php ➡️ shiyunWorker/WorkermanServer.php
think/worker/Http.php ➡️ shiyunWorker/process/HttpServer.php
think/worker/Events.php ➡️ shiyunWorker/process/GatewayEvents.php
think/worker/Server.php ➡️ shiyunWorker/WorkermanServer.php

同步 jsonrpc

/Applications/JsonRpc/start.php ➡️ shiyunWorker\process\JsonRpcServer;
/Applications/JsonRpc/Clients/RpcClient.php ➡️ shiyunWorker\rpc\driver\workerman\JsonRpcClient.php;

php

// 原本是 直接加载
use shiyunWorker\rpc\driver\workerman\JsonRpcClient;
 

// 现在改为加载
use shiyunWorker\rpc\JsonRpcClient;

 JsonRpcClient 根据 driver 类型去调用  
shiyunWorker\rpc\driver\workerman\JsonRpcClient

// 原本是 直接加载
use shiyunWorker\rpc\driver\workerman\JsonRpcClient;
 

// 现在改为加载
use shiyunWorker\rpc\JsonRpcClient;

 JsonRpcClient 根据 driver 类型去调用  
shiyunWorker\rpc\driver\workerman\JsonRpcClient

同步 statistics

其他参考

https://gitlab.com/hzc27180129/think-workerman-jsonrpchttps://blog.csdn.net/qq_32727513/article/details/120551727

Copyright © 2017 10yun.com | 十云提供计算服务-IPV6 | ctocode组开发