FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Handle curl requests. More...
Public Member Functions | |
__construct ($url) | |
setOptions ($options) | |
execute () | |
getInfo ($resource) | |
close () | |
Private Attributes | |
$handle = null | |
Handle curl requests.
Definition at line 23 of file CurlRequest.php.
Fossology\Lib\Application\CurlRequest::__construct | ( | $url | ) |
Constructor to initialize curl handler with URL.
string | $url | URL to initialize handler with. |
Definition at line 35 of file CurlRequest.php.
Fossology\Lib\Application\CurlRequest::close | ( | ) |
Close the curl handle.
Definition at line 71 of file CurlRequest.php.
Fossology\Lib\Application\CurlRequest::execute | ( | ) |
Fossology\Lib\Application\CurlRequest::getInfo | ( | $resource | ) |
Get info from curl request.
int | $resource | Required info |
Definition at line 63 of file CurlRequest.php.
Fossology\Lib\Application\CurlRequest::setOptions | ( | $options | ) |
Set curl options for the handle
array | $options | Options for curl handler |
Definition at line 44 of file CurlRequest.php.
|
private |
Resource to handle curl requests.
Definition at line 29 of file CurlRequest.php.