Doctrine\OrientDB\Binding\Client\Http\CurlClientResponse::getResponse PHP Method

getResponse() public method

Returns the whole response.
public getResponse ( ) : String
return String
    public function getResponse()
    {
        return $this->getRawHeaders() . "\r\n\r\n" . $this->getBody();
    }

Usage Example

 public function testRetrieveTheWholeResponse()
 {
     $response = new CurlClientResponse("A\r\n\r\nB");
     $this->assertEquals("A\r\n\r\nB", $response->getResponse());
 }