mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-11-24 19:20:20 +01:00
Adding support to cURL http protocol
This commit is contained in:
parent
9726378e3c
commit
0e5a7da09d
@ -4359,7 +4359,7 @@ class Client
|
||||
{
|
||||
$ch = curl_init();
|
||||
$curl_options = [
|
||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTPS,
|
||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP,
|
||||
CURLOPT_HTTP_VERSION => $this->curl_http_version,
|
||||
CURLOPT_SSL_VERIFYPEER => $this->curl_ssl_verify_peer,
|
||||
CURLOPT_SSL_VERIFYHOST => $this->curl_ssl_verify_host,
|
||||
|
Loading…
Reference in New Issue
Block a user