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

getBody() public method

Returns the body of the response.
public getBody ( ) : String
return String
    public function getBody()
    {
        return $this->body;
    }

Usage Example

 public function testExtractBodyCorrectlyFromResponse()
 {
     $response = new CurlClientResponse("A\r\n\r\nB\r\n\r\nC");
     $this->assertEquals("B\r\n\r\nC", $response->getBody());
 }