![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Static Public Member Functions | |
static | getGuzzleClient (array $SysConf, string $baseUri, string $token="") |
static | checkLicenseDBHealth (string $getHealth, $guzzleClient) |
Definition at line 15 of file HttpUtils.php.
|
static |
Checks the health status of the license database by sending a GET request to a specified health endpoint. Returns a boolean result indicating whether the database is reachable and healthy. Implements error handling for HTTP request failures.
Definition at line 61 of file HttpUtils.php.
|
static |
Create a preconfigured Guzzle Client.
array | $SysConf | SysConf array |
string | $baseUri | Base URI of the client |
string | $token | Authentication token. Leave empty if not needed. |
Definition at line 24 of file HttpUtils.php.