public function __construct($uris = null, $async = true)
{
parent::__construct($uris, $async);
$this->header = array('Content-type' => 'application/hprose');
$this->options = array(CURLOPT_SSL_VERIFYPEER => false, CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4, CURLOPT_HEADER => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_NOSIGNAL => 1);
if (!$async) {
$this->curl = curl_init();
}
$curl_version = curl_version();
$this->curlVersionLittleThan720 = 1 == version_compare('7.20.0', $curl_version['version']);
}