src/OpenBuildings/Monetary/CURL.php
public function request(array $curl_options)
	{
		$curl = $this->_init($curl_options);
		$response = $this->_execute($curl);

		// Execute response
		if ($response === FALSE)
		{
			$this->_handle_error($curl);

			return FALSE;
		}

		$this->_close($curl);

		return $response;
	}
public function request(array $curl_options)
	{
		$curl = $this->_init($curl_options);
		$response = $this->_execute($curl);

		// Execute response
		if ($response === FALSE)
		{
			$this->_handle_error($curl);

			return FALSE;
		}

		$this->_close($curl);

		return $response;
	}
public function request ( array $ curl_options ) { $ curl = $ this -> _init ( $ curl_options ) ; $ response = $ this -> _execute ( $ curl ) ; // Execute response if ( $ response === FALSE ) { $ this -> _handle_error ( $ curl ) ; return FALSE ; } $ this -> _close ( $ curl ) ; return $ response ; }
Perform a cURL request
@param  array  $curl_options
@return string response of the request
@throws Exception_Source If the remote returns an error.
Perform a cURL request