Download the PHP package cloudtay/ripple-rpc without Composer
On this page you can find all versions of the php package cloudtay/ripple-rpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ripple-rpc
简介
本项目是一个基于ripple引擎实现的PHP服务器,支持HTTP和WebSocket通信方式
特性
- 支持
JSON-RPC 2.0 - 同时支持
HTTP与WebSocket协议 - 可自定义路由
- 支持中间件
- 错误处理与异常捕获
快速开始
安装
创建服务器实例
客户端调用
附 JSON-RPC2.0API 规范
请求格式
响应格式
错误响应示例
错误代码表
| 错误码 | 错误信息 | 描述 |
|---|---|---|
| -32700 | Parse error | 无效的JSON |
| -32600 | Invalid Request | 无效的请求 |
| -32601 | Method not found | 方法不存在 |
| -32602 | Invalid params | 无效的参数 |
| -32603 | Internal error | 内部错误 |
| -32000 to -32099 | Server error | 服务器错误 |
许可证
本项目基于MIT许可证发布
All versions of ripple-rpc with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
cloudtay/ripple Version ^1.0
cloudtay/ripple-http Version ^1.0
cloudtay/ripple-websocket Version ^1.0
cloudtay/ripple Version ^1.0
cloudtay/ripple-http Version ^1.0
cloudtay/ripple-websocket Version ^1.0
The package cloudtay/ripple-rpc contains the following files
Loading the files please wait ...