Download the PHP package synapse-rpc/siroen without Composer
On this page you can find all versions of the php package synapse-rpc/siroen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download synapse-rpc/siroen
More information about synapse-rpc/siroen
Files in synapse-rpc/siroen
Download synapse-rpc/siroen
More information about synapse-rpc/siroen
Files in synapse-rpc/siroen
Vendor synapse-rpc
Package siroen
Short Description A rpc framework base RabbitMQ (已实现C#,python,Golang)
License BSD-4-Clause
Package siroen
Short Description A rpc framework base RabbitMQ (已实现C#,python,Golang)
License BSD-4-Clause
Please rate this library. Is it a good library?
Informations about the package siroen
西纳普斯 - synapse (PHP Version)
此为系统核心交互组件,包含了事件和RPC系统
特别说明
- 不太推荐本语言使用此系统,因为只能运行在单线程.
- 目前客户端和服务端不能共存,启用服务端后会自动禁用客户端
- 并未进行大并发测试
包地址
Demo测试地址
可以使用Nuget安装
composer require synapse-rpc/siroen
使用前奏:
- 需要一个RabbitMQ服务器
使用方式:
CallBack说明:
客户端方法说明:
-
发送事件(无返回)
Synapse.sendEvent($eventName, $param)
-
RPC请求(返回数组)
Synapse.SendRpc($app, $method, $param)
- 控制台日志
Synapse::log(string desc,type = Synapse::LogInfo)
日志级别: LogWarn,LogError,LogInfo,LogDebug
参数说明:
All versions of siroen with dependencies
PHP Build Version
Package Version
Requires
php-amqplib/php-amqplib Version
^2.7
The package synapse-rpc/siroen contains the following files
Loading the files please wait ....