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());
 }