|
static uint32 | getCloudRequestsPeriodInMicroseconds () |
|
static Common::String | getCaCertPath () |
|
static bool | hasInstance () |
|
static ConnectionManager & | instance () |
|
static void | destroy () |
|
|
void | connectionsThread (void *) |
|
|
typedef ConnectionManager | SingletonBaseType |
|
static ConnectionManager * | _singleton |
|
◆ registerEasyHandle()
void Networking::ConnectionManager::registerEasyHandle |
( |
CURL * |
easy | ) |
const |
All libcurl transfers are going through this ConnectionManager. So, if you want to start any libcurl transfer, you must create an easy handle and register it using this method.
◆ addRequest()
Use this method to add new Request into manager's queue. Manager will periodically call handle() method of these Requests until they set their state to FINISHED.
If Request's state is RETRY, handleRetry() is called instead.
The passed callback would be called after Request is deleted.
- Note
- This method starts the timer if it's not started yet.
- Returns
- the same Request pointer, just as a shortcut
◆ urlEncode()
Return URL-encoded version of given string.
◆ getCaCertPath()
static Common::String Networking::ConnectionManager::getCaCertPath |
( |
| ) |
|
|
static |
Return the path to the CA certificates bundle.
The documentation for this class was generated from the following file: