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.
|
* @param string $responseType Response format - json, xml.
|
||||||
*/
|
*/
|
||||||
public function __construct(string $url, int $port, string $rootName, string $rootPassword, string $responseType) {
|
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->queryStringBuilder = new QueryStringBuilder();
|
||||||
$this->rootName = $rootName;
|
$this->rootName = $rootName;
|
||||||
$this->rootPassword = $rootPassword;
|
$this->rootPassword = $rootPassword;
|
||||||
|
|
Loading…
Reference in New Issue