public function exec():string {
		ob_start();
		$response = curl_exec($this->ch);
		$this->buffer = ob_get_contents();
		ob_end_clean();

		if(false === $response) {
			throw new CurlException($this->error());
		}
		if(true === $response) {
			$response = $this->buffer;
		}
		
		return $response;
	}
public function exec():string {
		ob_start();
		$response = curl_exec($this->ch);
		$this->buffer = ob_get_contents();
		ob_end_clean();

		if(false === $response) {
			throw new CurlException($this->error());
		}
		if(true === $response) {
			$response = $this->buffer;
		}
		
		return $response;
	}
public function exec ( ) : string { ob_start ( ) ; $ response = curl_exec ( $ this -> ch ) ; $ this -> buffer = ob_get_contents ( ) ; ob_end_clean ( ) ; if ( false === $ response ) { throw new CurlException ( $ this -> error ( ) ) ; } if ( true === $ response ) { $ response = $ this -> buffer ; } return $ response ; }
Perform a cURL session
@see http://php.net/manual/en/function.curl-exec.php
Perform a cURL session