mirror of
https://github.com/miguel456/php-http-virtualmin-api
synced 2023-07-28 01:52:31 +00:00
Update HttpClient.php
This commit is contained in:
parent
aef6611307
commit
f67e5139d0
@ -79,7 +79,7 @@ class HttpClient implements HttpClientInterface {
|
||||
* @param string $responseType Response format - json, xml.
|
||||
*/
|
||||
public function __construct(string $url, int $port, string $rootName, string $rootPassword, string $responseType) {
|
||||
$this->client = new \GuzzleHttp\Client(array('curl' => array(CURLOPT_SSL_VERIFYPEER => false)));
|
||||
$this->client = new \GuzzleHttp\Client(array('curl' => array('CURLOPT_SSL_VERIFYPEER' => false)));
|
||||
$this->queryStringBuilder = new QueryStringBuilder();
|
||||
$this->rootName = $rootName;
|
||||
$this->rootPassword = $rootPassword;
|
||||
|
Loading…
Reference in New Issue
Block a user