protected function execute_curl($options) {
		$ch = curl_init();
		curl_setopt_array($ch, $options);
		$returned = curl_exec($ch);
		$response = HttpClientResponse::instance_from_curl($ch, $returned);
		curl_close($ch);
		return $response;
	}
protected function execute_curl($options) {
		$ch = curl_init();
		curl_setopt_array($ch, $options);
		$returned = curl_exec($ch);
		$response = HttpClientResponse::instance_from_curl($ch, $returned);
		curl_close($ch);
		return $response;
	}
protected function execute_curl ( $ options ) { $ ch = curl_init ( ) ; curl_setopt_array ( $ ch , $ options ) ; $ returned = curl_exec ( $ ch ) ; $ response = HttpClientResponse :: instance_from_curl ( $ ch , $ returned ) ; curl_close ( $ ch ) ; return $ response ; }
Execute a curl call with the given options.

@param array $options Array of curl options.
@return string Returned strings.
Execute a curl call with the given options .