This commit is contained in:
2021-12-24 11:44:08 +08:00
parent a0f197d98d
commit 196cb42e6e
+3 -2
View File
@@ -114,11 +114,12 @@ class AsyncClient extends ClientAbstracts
}
}
$this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content);
$revice = gzdecode($this->client->recv());
var_dump(implode("\r\n", $array) . "\r\n\r\n" . $revice);
$revice = $this->client->recv();
[$header, $body] = explode("\r\n\r\n", $revice);
var_dump($body);
$header = explode("\r\n", $header);
$status = array_shift($header);