Closed Yurunsoft closed 4 years ago
elasticsearch/elasticsearch
$client = \Elasticsearch\ClientBuilder::create()->setHosts(['192.168.0.233:9200'])->setHandler(new \Yurun\Util\Swoole\Guzzle\Ring\SwooleHandler())->build();
无需再手动引入 guzzle
使用 YurunHttp 作为 Http 请求驱动,更加稳定可靠
elasticsearch/elasticsearch
等包中:无需再手动引入 guzzle
使用 YurunHttp 作为 Http 请求驱动,更加稳定可靠