add clear
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user