This commit is contained in:
2021-12-12 04:14:22 +08:00
parent 8d685b93e2
commit 2baeb20b8d
-2
View File
@@ -114,12 +114,10 @@ class AsyncClient extends ClientAbstracts
} }
} }
$array = implode("\r\n", $array) . "\r\n\r\n"; $array = implode("\r\n", $array) . "\r\n\r\n";
var_dump($array . $content);
$this->client->send($array . $content); $this->client->send($array . $content);
$revice = $this->client->recv(); $revice = $this->client->recv();
var_dump($revice);
[$header, $body] = explode("\r\n\r\n", $revice); [$header, $body] = explode("\r\n\r\n", $revice);
$header = explode("\r\n", $header); $header = explode("\r\n", $header);