add clear

This commit is contained in:
2020-03-31 15:13:16 +08:00
parent 30bb2cf1c5
commit 7f04bc8af7
+2
View File
@@ -392,6 +392,8 @@ class HttpClient
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
echo $host . ':' . $this->getHostPort() . $url . PHP_EOL;
if (!empty($this->ssl_cert_file) && !empty($this->ssl_key_file)) {
echo $this->ssl_cert_file . PHP_EOL;
echo $this->ssl_key_file . PHP_EOL;
$client->set([
'ssl_cert_file' => $this->ssl_cert_file,
'ssl_key_file' => $this->ssl_key_file,