kapitancho/walnut-lang-swoole-http-adapter
最新稳定版本:0.0.4
Composer 安装命令:
composer require kapitancho/walnut-lang-swoole-http-adapter
包简介
README 文档
README
A small adapter for performing HTTP calls to Walnut language code using Swoole.
Installation
To install the latest version, use the following command:
$ composer require kapitancho/walnut-lang-swoole-http-adapter
Usage
Start a Swoole HTTP server using server.php or use the sample docker files and call http://localhost:8068/ in your browser.
module demo-swoole-http:
handleRequest = ^HttpRequest => HttpResponse :: [
statusCode: 200,
protocolVersion: HttpProtocolVersion.HTTP11,
headers: [:],
body: 'Hello world!'
];
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-03-10