From dc6eb2bae23b674c5365bc40c5c3358e8b5ca2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 3 Apr 2020 17:30:48 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 0b5fe11..b857e07 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -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; }