modify plugin name

This commit is contained in:
2022-02-21 15:23:41 +08:00
parent aaeb538849
commit 3cc98214c7
+1 -1
View File
@@ -60,6 +60,7 @@ class CoroutineClient extends ClientAbstracts
private function coroutine($url, array|string $data = []): void
{
try {
var_dump($url, $this->getPort());
$this->generate_client($data, ...$url);
if ($this->client->statusCode < 0) {
throw new Exception($this->client->errMsg);
@@ -88,7 +89,6 @@ class CoroutineClient extends ClientAbstracts
} else {
$this->client = new SwowClient($host, $this->getPort(), false);
}
var_dump($host, $this->getPort());
$this->client->set($this->settings());
if (!empty($this->getAgent())) {
$this->withAddedHeader('User-Agent', $this->getAgent());