add clear
This commit is contained in:
@@ -139,6 +139,9 @@ class HttpClient
|
|||||||
public function setUseSwoole($bool)
|
public function setUseSwoole($bool)
|
||||||
{
|
{
|
||||||
$this->use_swoole = $bool;
|
$this->use_swoole = $bool;
|
||||||
|
if ($this->use_swoole) {
|
||||||
|
function_exists('setCli') && setCli(true);
|
||||||
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user