1 #ifndef VIRTRU_TDF3_CPP_VIRTRU_AUDIT_SERVICE_H
2 #define VIRTRU_TDF3_CPP_VIRTRU_AUDIT_SERVICE_H
29 void addQueryParam(
const std::string& key,
const std::string& value);
35 void addHeader(
const std::string& key,
const std::string& value);
42 std::string
makeHttpGet(
const std::string& fullUrl);
53 #endif // VIRTRU_TDF3_CPP_VIRTRU_AUDIT_SERVICE_H
std::string makeHttpGet(const std::string &fullUrl)
std::string getEventById(const std::string &eventId)
std::string m_auditUrl
Definition: virtru_audit_service.h:46
std::unordered_map< std::string, std::string > HttpHeaders
Definition: network_interface.h:27
~AuditService()=default
Destructor.
HttpHeaders m_additionalHeaders
Definition: virtru_audit_service.h:49
std::shared_ptr< INetwork > m_httpServiceProvider
Definition: virtru_audit_service.h:47
Definition: virtru_audit_service.h:8
void addHeader(const std::string &key, const std::string &value)
std::string m_queryString
Definition: virtru_audit_service.h:48
AuditService(const std::string &auditUrl)
void addQueryParam(const std::string &key, const std::string &value)