add clear

This commit is contained in:
2020-03-31 15:07:30 +08:00
parent 156ef4db41
commit b4a6ed706f
+1 -1
View File
@@ -390,7 +390,7 @@ class HttpClient
private function generate_client($host, $url, $data)
{
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
echo $host . ':' . $this->getHostPort() . '/' . $url . PHP_EOL;
echo $host . ':' . $this->getHostPort() . $url . PHP_EOL;
if (!empty($this->ssl_cert_file) && !empty($this->ssl_key_file)) {
$client->set([
'ssl_cert_file' => $this->ssl_cert_file,