add clear
This commit is contained in:
@@ -263,6 +263,7 @@ class HttpClient
|
||||
if ($this->checkIsIp($host)) {
|
||||
return $host;
|
||||
}
|
||||
$this->host = $host;
|
||||
return System::gethostbyname($host);
|
||||
}
|
||||
|
||||
@@ -395,6 +396,7 @@ class HttpClient
|
||||
echo $this->ssl_cert_file . PHP_EOL;
|
||||
echo $this->ssl_key_file . PHP_EOL;
|
||||
$client->set([
|
||||
'Host' => $this->host,
|
||||
'ssl_cert_file' => $this->ssl_cert_file,
|
||||
'ssl_key_file' => $this->ssl_key_file,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user