$configuration
$configuration : \Iqrf\Repository\Configuration
HTTP(S) client for file downloading
getFile(string $path, bool $useCredentials = false) : string
Downloads the file from the IQRF Repository
string | $path | File path |
bool | $useCredentials | Use credentials |
Requested file not found
IQRF Repository API is unavailable
File content
sendRequest(string $url, array|null $query = null, bool $useCredentials = false) : string
Sends HTTP request
string | $url | URL |
array|null | $query | Optional query parameters |
bool | $useCredentials |
Requested data not found
IQRF Repository API is unavailable
HTTP response