modify plugin name

This commit is contained in:
2022-06-08 17:19:32 +08:00
parent 2a6b2a1979
commit 8f9de7a508
4 changed files with 39 additions and 13 deletions
+2 -7
View File
@@ -32,17 +32,12 @@ trait TraitTransporter
/**
* @param Client|Coroutine\Client $client
* @param $content
* @param bool $isClose
* @return mixed
*/
private function request(Client|Coroutine\Client $client, $content, bool $isClose): mixed
private function request(Client|Coroutine\Client $client, $content): mixed
{
$client->send($content);
$read = $client->recv();
if ($isClose) {
$client->close();
}
return $read;
return $client->recv();
}