Skip to content

Commit 5d41478

Browse files
committed
Updated $httpDebug variable and httpRequest() method for extends classes.
1 parent 10a4742 commit 5d41478

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

php-binance-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class API
4444
protected $caOverride = false; // /< set this if you donnot wish to use CA bundle auto download feature
4545
protected $transfered = 0; // /< This stores the amount of bytes transfered
4646
protected $requestCount = 0; // /< This stores the amount of API requests
47-
private $httpDebug = false; // /< If you enable this, curl will output debugging information
47+
protected $httpDebug = false; // /< If you enable this, curl will output debugging information
4848
private $subscriptions = []; // /< View all websocket subscriptions
4949
private $btc_value = 0.00; // /< value of available assets
5050
private $btc_total = 0.00;
@@ -900,7 +900,7 @@ public function setProxy(array $proxyconf)
900900
* @return array containing the response
901901
* @throws \Exception
902902
*/
903-
private function httpRequest(string $url, string $method = "GET", array $params = [], bool $signed = false)
903+
protected function httpRequest(string $url, string $method = "GET", array $params = [], bool $signed = false)
904904
{
905905
if (function_exists('curl_init') === false) {
906906
throw new \Exception("Sorry cURL is not installed!");

0 commit comments

Comments
 (0)