HTTP Client
适用于 Hyperf 的 HTTP 客户端组件,移植自 Laravel。
安装
shell
composer require friendsofhyperf/http-client
使用
php
use FriendsOfHyperf\Http\Client\Http;
$response = Http::get('https://example.com');
参考文档
有关更多信息,请参阅 Laravel HTTP Client 文档。