for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class Response
*
* @filesource Response.php
* @created 15.02.2016
* @package chillerlan\TinyCurl
* @author Smiley <[email protected]>
* @copyright 2016 Smiley
* @license MIT
*/
namespace chillerlan\TinyCurl\Response;
class Response extends ResponseAbstract{
* Fills self::$response_body and calls self::getInfo()
protected function exec(){
curl_setopt($this->curl, CURLOPT_HEADERFUNCTION, [$this, 'headerLine']);
$this->response_body = curl_exec($this->curl);
$this->getInfo();
}