19namespace network_manager
28class RequestPayloadStream;
46 virtual void setProxy (
const std::string& proxy) = 0;
Class to construct the HTTP request.
virtual void setProxy(const std::string &proxy)=0
virtual ResponsePtr performRequest(RequestVerb verb, const Request &request, RequestPayloadStreamPtr payloadStream)=0
virtual ResponsePtr performRequest(RequestVerb verb, const Request &request, std::unique_ptr< MultipartData > form)=0
virtual ResponsePtr performRequest(RequestVerb verb, const Request &request)=0
virtual void terminate()=0
virtual ~IResponseFactory()=default
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
std::shared_ptr< IResponse > ResponsePtr
std::shared_ptr< RequestPayloadStream > RequestPayloadStreamPtr