mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added Proxy support for Api Transport (#11968)
This commit is contained in:
@@ -72,6 +72,7 @@ class Api extends Transport
|
||||
}
|
||||
|
||||
$client = new \GuzzleHttp\Client();
|
||||
$request_opts['proxy'] = get_guzzle_proxy();
|
||||
if (isset($auth) && !empty($auth[0])) {
|
||||
$request_opts['auth'] = $auth;
|
||||
}
|
||||
|
Reference in New Issue
Block a user