16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_LIBCURLUTILS_CURLMULTIHANDLEWRAPPER_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_LIBCURLUTILS_CURLMULTIHANDLEWRAPPER_H_ 20 #include <curl/curl.h> 22 #include <unordered_set> 27 namespace libcurlUtils {
44 static std::unique_ptr<CurlMultiHandleWrapper>
create();
80 CURLMcode
perform(
int* runningHandles);
95 CURLMcode
poll(std::chrono::milliseconds timeout,
int* countHandlesUpdated);
113 CURLMsg*
infoRead(
int* messagesInQueue);
127 std::unordered_set<CURL*> m_streamHandles;
135 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_LIBCURLUTILS_CURLMULTIHANDLEWRAPPER_H_ CURLMsg * infoRead(int *messagesInQueue)
CURLMcode removeHandle(CURL *handle)
CURLMcode perform(int *runningHandles)
CURLMcode addHandle(CURL *handle)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
CURLMcode poll(std::chrono::milliseconds timeout, int *countHandlesUpdated)
Definition: CurlMultiHandleWrapper.h:37
static std::unique_ptr< CurlMultiHandleWrapper > create()
~CurlMultiHandleWrapper()