From 4cd04c4f428afcceddaf05131002a0d18229959c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 27 May 2020 15:54:22 +0800 Subject: [PATCH] add clear --- wchat/common/HttpClient.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 8ce9981..b40a582 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -441,7 +441,6 @@ class HttpClient { try { $client = $this->generate_client($this->host, $url, $data); - var_dump($client); if ($client->statusCode < 0) { throw new Exception($client->errMsg); } @@ -516,6 +515,9 @@ class HttpClient if (!empty($this->_data)) { $client->setData($this->_data); } + + var_dump($host, $url, $this->getHostPort()); + $client->execute($url); $client->close(); return $client;