add clear
This commit is contained in:
@@ -283,8 +283,10 @@ class HttpClient
|
||||
$data = $this->paramEncode($data);
|
||||
if ($this->use_swoole) {
|
||||
[$url, $host] = $this->parseUrlHost($url);
|
||||
var_dump($url, $host);
|
||||
return $this->coroutine($host, $url, $data);
|
||||
} else {
|
||||
var_dump($url, 'curl');
|
||||
return $this->useCurl($url, $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user