add clear
This commit is contained in:
@@ -281,7 +281,7 @@ class HttpClient
|
|||||||
private function request($url, $data = [])
|
private function request($url, $data = [])
|
||||||
{
|
{
|
||||||
$data = $this->paramEncode($data);
|
$data = $this->paramEncode($data);
|
||||||
if ($this->use_swoole && $this->isCli()) {
|
if ($this->use_swoole) {
|
||||||
[$url, $host] = $this->parseUrlHost($url);
|
[$url, $host] = $this->parseUrlHost($url);
|
||||||
return $this->coroutine($host, $url, $data);
|
return $this->coroutine($host, $url, $data);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user