add clear
This commit is contained in:
@@ -462,8 +462,6 @@ class HttpClient
|
||||
$client = new SClient($host, $this->getHostPort(), $this->isSSL);
|
||||
|
||||
$settings = $this->settings();
|
||||
var_dump($settings);
|
||||
|
||||
if (!empty($settings)) {
|
||||
$client->set($this->settings());
|
||||
}
|
||||
@@ -503,6 +501,7 @@ class HttpClient
|
||||
} else {
|
||||
$client->post($url, $data);
|
||||
}
|
||||
var_dump($client);
|
||||
$client->close();
|
||||
return $client;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user