add clear

This commit is contained in:
2020-04-03 17:30:48 +08:00
parent 94b8a217d5
commit dc6eb2bae2
+1 -2
View File
@@ -462,8 +462,6 @@ class HttpClient
$client = new SClient($host, $this->getHostPort(), $this->isSSL); $client = new SClient($host, $this->getHostPort(), $this->isSSL);
$settings = $this->settings(); $settings = $this->settings();
var_dump($settings);
if (!empty($settings)) { if (!empty($settings)) {
$client->set($this->settings()); $client->set($this->settings());
} }
@@ -503,6 +501,7 @@ class HttpClient
} else { } else {
$client->post($url, $data); $client->post($url, $data);
} }
var_dump($client);
$client->close(); $client->close();
return $client; return $client;
} }