Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 14:59:59 +08:00
parent 47dc988e49
commit 99f79b7616
+1 -2
View File
@@ -78,8 +78,7 @@ class AsyncClient extends ClientAbstracts
{
$this->client = new SwowClient(SWOOLE_TCP, FALSE);
$this->client->set(array_merge($this->settings(), [
'open_http_protocol' => true,
'open_eof_check' => true
'open_http_protocol' => true
]));
if (!$this->client->connect($host, $this->getPort())) {
throw new Exception('链接失败');