add clear
This commit is contained in:
@@ -173,7 +173,9 @@ class HttpClient
|
|||||||
public function setIsSSL(bool $isSSL)
|
public function setIsSSL(bool $isSSL)
|
||||||
{
|
{
|
||||||
$this->isSSL = $isSSL;
|
$this->isSSL = $isSSL;
|
||||||
$this->port = 443;
|
if ($this->isSSL) {
|
||||||
|
$this->port = 443;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user