add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:53:19 +08:00
parent dea36a9be5
commit 6156ef2cb4
+2
View File
@@ -173,8 +173,10 @@ class HttpClient
public function setIsSSL(bool $isSSL) public function setIsSSL(bool $isSSL)
{ {
$this->isSSL = $isSSL; $this->isSSL = $isSSL;
if ($this->isSSL) {
$this->port = 443; $this->port = 443;
} }
}
public function setPort($port) public function setPort($port)