getResponse() публичный Метод

Get the full cURL response
public getResponse ( ) : string
Результат string
Пример #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());
 }