pader/amphp-guzzle-handler
Composer 安装命令:
composer require pader/amphp-guzzle-handler
包简介
Make guzzle non-blocking with amphp.
README 文档
README
Make guzzle non-blocking with amphp.
use Amp\Http\Client\HttpClientBuilder; use AmpGuzzle\HttpClientHandler; use GuzzleHttp\Client; $httpClient = HttpClientBuilder::buildDefault(); $handler = new HttpClientHandler($httpClient); $client = new Client([ 'handler' => $handler ]); $response = $client->post('https://www.google.com/'); print_r($response->getBody()->getContents());
统计信息
- 总下载量: 86
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-31