getResponse() public méthode

Get the full cURL response
public getResponse ( ) : string
Résultat string
Exemple #1
0
 public function testResponse()
 {
     $c = new Curl('http://www.popphp.org/version', array(CURLOPT_HEADER => false, CURLOPT_RETURNTRANSFER => true));
     $c->execute();
     $this->assertEquals('1.7.0', $c->getResponse());
 }