add clear

This commit is contained in:
2020-04-30 18:11:59 +08:00
parent 5b46609863
commit 69c27d8f2a
+2 -1
View File
@@ -339,6 +339,8 @@ class HttpClient
return false;
}
var_dump($hostAndUrls);
$this->host = System::gethostbyname($this->host);
return $hostAndUrls;
@@ -460,7 +462,6 @@ class HttpClient
*/
private function coroutine($url, $data = [])
{
var_dump($this->host, $url);
$client = $this->generate_client($this->host, $url, $data);
if ($client->statusCode < 0) {
throw new \Exception($client->errMsg);