mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:32:56 +00:00
22 lines
613 B
C++
22 lines
613 B
C++
/*
|
|
* PROJECT: ReactOS Automatic Testing Utility
|
|
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
|
* PURPOSE: Class implementing the curl interface to the "testman" Web Service
|
|
* COPYRIGHT: Copyright 2025 Mark Jansen <mark.jansen@reactos.org>
|
|
*/
|
|
|
|
typedef void CURL;
|
|
|
|
class CWebServiceLibCurl : public CWebService
|
|
{
|
|
private:
|
|
CURL *m_hCurl;
|
|
|
|
PCHAR DoRequest(const char *Hostname, INTERNET_PORT Port, const char *ServerFile, const string& InputData) override;
|
|
|
|
public:
|
|
CWebServiceLibCurl();
|
|
virtual ~CWebServiceLibCurl();
|
|
|
|
static bool CanUseLibCurl();
|
|
};
|