lib/curl/Request: add methods StartIndirect(), StopIndirect()
This commit is contained in:
@@ -93,6 +93,11 @@ public:
|
||||
*/
|
||||
void Start();
|
||||
|
||||
/**
|
||||
* A thread-safe version of Start().
|
||||
*/
|
||||
void StartIndirect();
|
||||
|
||||
/**
|
||||
* Unregister this request via CurlGlobal::Remove().
|
||||
*
|
||||
@@ -100,6 +105,11 @@ public:
|
||||
*/
|
||||
void Stop() noexcept;
|
||||
|
||||
/**
|
||||
* A thread-safe version of Stop().
|
||||
*/
|
||||
void StopIndirect();
|
||||
|
||||
CURL *Get() noexcept {
|
||||
return easy.Get();
|
||||
}
|
||||
|
Reference in New Issue
Block a user