20 lines
364 B
C++
20 lines
364 B
C++
#include "HttpClient.h"
|
|
#include "HttpClientImpl.h"
|
|
|
|
|
|
namespace Http {
|
|
|
|
HttpClient::HttpClient(int timeout, bool debugLogging) :
|
|
m_pHttpClientImpl(new HttpClientImpl(timeout, debugLogging))
|
|
{
|
|
}
|
|
|
|
HttpClient::~HttpClient() = default;
|
|
|
|
std::string HttpClient::Open(const HttpRequest& request) const
|
|
{
|
|
return m_pHttpClientImpl->Open(request);
|
|
}
|
|
|
|
} // namespace Http
|