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

__construct() public method

Creates a new HTTP client based on cURL.
public __construct ( boolean $restart = false, integer $timeout = 10 )
$restart boolean
$timeout integer
    public function __construct($restart = false, $timeout = 10)
    {
        $this->restart = $restart;
        $this->cookies = array();
        $this->curl = $this->createCurlHandle();
        $this->setTimeout($timeout);
    }