29namespace network_manager
81 const Request& request, std::unique_ptr<MultipartData> form)
100 const Request& request, std::unique_ptr<MultipartData> form)
Declare an implementation of IResponseFactory using libcurl.
Declare a class for performing HTTP requests.
Declare a class for constructing HTTP requests.
ResponsePtr doHead(const Request &request)
static NetworkManager & GetInstance()
ResponsePtr doPost(const Request &request, const void *data, size_t size)
ResponsePtr doDelete(const Request &request)
std::unique_ptr< IResponseFactory > mResponseFactory
ResponsePtr doPatch(const Request &request, const void *data, size_t size)
void setProxy(const std::string &proxy)
ResponsePtr doGet(const Request &request)
ResponsePtr doPut(const Request &request, const void *data, size_t size)
std::shared_ptr< IResponse > ResponsePtr
std::shared_ptr< RequestPayloadStream > RequestPayloadStreamPtr
RequestPayloadStreamPtr CreateRequestPayloadStream(const void *data, int64_t size, bool copyData)