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

__construct() public method

Constructs a new object from an existing HTTP response.
public __construct ( String $response )
$response String
    public function __construct($response)
    {
        @(list($this->rawHeaders, $this->body) = explode("\r\n\r\n", $response, 2));
        $this->buildHeaders($this->rawHeaders);
    }