Download the PHP package hanwenbo/fetch without Composer
On this page you can find all versions of the php package hanwenbo/fetch. 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 fetch
协程Http请求客户端
该类主要是为了解决第三方包用了guzzle基础请求方法保持一致,又能使用EasySwoole
安装
测试
要在
swoole环境下运行,根目录的docker-compose.yml是写项目经常用到的docker环境 docker-compose up -d docker-compose exec swoole bash composer install php tests/fetch.php
示例代码
GET
POST
form请求
json请求
其他的
PUTDELETEPATCH参考POST即可
其他
All versions of fetch with dependencies
PHP Build Version
Package Version
The package hanwenbo/fetch contains the following files
Loading the files please wait ...