1 #ifndef VIRTRU_TDF3_CPP_VIRTRU_CONFIG_SERVICE_H
2 #define VIRTRU_TDF3_CPP_VIRTRU_CONFIG_SERVICE_H
18 void getConfig(
const std::string& configKey,
const std::string& outputFilePath);
24 void createConfig(
const std::string& configKey,
const std::string& inputFilePath);
37 void addHeader(
const std::string& key,
const std::string& value);
51 #endif // VIRTRU_TDF3_CPP_VIRTRU_CONFIG_SERVICE_H
void addHeader(const std::string &key, const std::string &value)
std::string m_configUrl
Definition: virtru_config_service.h:45
HttpHeaders m_additionalHeaders
Definition: virtru_config_service.h:47
std::string getConfigMetaData(const std::string &configKey)
std::shared_ptr< INetwork > m_httpServiceProvider
Definition: virtru_config_service.h:46
std::unordered_map< std::string, std::string > HttpHeaders
Definition: network_interface.h:27
~ConfigService()=default
Destructor.
ConfigService(const std::string &configUrl)
void createConfig(const std::string &configKey, const std::string &inputFilePath)
Definition: virtru_config_service.h:8
void getConfig(const std::string &configKey, const std::string &outputFilePath)