isReturnTransfer() public method

Check if cURL is set to return transfer
public isReturnTransfer ( ) : boolean
return boolean
Example #1
0
 public function testSetReturnTransfer()
 {
     $c = new Curl('http://www.popphp.org/version', array(CURLOPT_HEADER => false, CURLOPT_RETURNTRANSFER => false));
     $c->setReturnTransfer(true);
     $this->assertTrue($c->isReturnTransfer());
 }