Download the PHP package fastgoo/async-http-client without Composer
On this page you can find all versions of the php package fastgoo/async-http-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fastgoo/async-http-client
More information about fastgoo/async-http-client
Files in fastgoo/async-http-client
Download fastgoo/async-http-client
More information about fastgoo/async-http-client
Files in fastgoo/async-http-client
Vendor fastgoo
Package async-http-client
Short Description 基于swoole扩展的HTTP异步请求扩展包,需要依赖swoole扩展
License MIT
Homepage https://phalcon.fastgoo.net
Package async-http-client
Short Description 基于swoole扩展的HTTP异步请求扩展包,需要依赖swoole扩展
License MIT
Homepage https://phalcon.fastgoo.net
Please rate this library. Is it a good library?
Informations about the package async-http-client
基于Swoole扩展的HTTP异步客户端
简介
基于 Swoole 异步客户端的扩展包,可以像使用 GuzzleHttp 简单优雅的使用swoole的异步客户端,无需关注底层实现以及处理逻辑。可实现同时发起N个HTTP请求不会被阻塞。经测试循环并发100个请求,全部返回结果只需要3-4秒的时间。
- 基于 Swoole 扩展
- 需在CLI模式下运行
- 支持HTTPS 与 HTTP 2种协议
- 使用 HTTPS 必须在编译swoole时启用--enable-openssl
- 解决高并发请求(可做接口压测)
- 异步 HTTP 请求,非阻塞
- 该扩展适用于目前所有现代框架
- 作者qq 773729704、微信 huoniaojugege 加好友备注github
更新记录
- 2018.03.30 去掉get请求的参数,参数让用户自己带在URL上
参考文档
环境要求
- PHP 7.0 +
- Swoole 1.9 +
- Composer
Composer 安装
composer require fastgoo/async-http-client
使用范例
All versions of async-http-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package fastgoo/async-http-client contains the following files
Loading the files please wait ....