This commit is contained in:
2023-12-12 15:35:36 +08:00
parent 9814e06e8d
commit 6da3575619
5 changed files with 104 additions and 103 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ class TcpClient
* @param string $host
* @param int $port
* @param int $socket
* @throws Exception
* @throws
*/
public function __construct(readonly public string $host, readonly public int $port, readonly public int $socket = SWOOLE_SOCK_TCP)
{
@@ -32,7 +32,7 @@ class TcpClient
/**
* @return void
* @throws Exception
* @throws
*/
public function reconnect(): void
{