add clear
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user