proxies.h
Go to the documentation of this file.
00001 #ifndef CPR_PROXIES_H
00002 #define CPR_PROXIES_H
00003 
00004 #include <initializer_list>
00005 #include <map>
00006 #include <string>
00007 #include <utility>
00008 
00009 namespace cpr {
00010 
00011 class Proxies {
00012   public:
00013     Proxies() {}
00014     Proxies(const std::initializer_list<std::pair<const std::string, std::string>>& hosts);
00015 
00016     bool has(const std::string& protocol) const;
00017     const std::string& operator[](const std::string& protocol);
00018 
00019   private:
00020     std::map<std::string, std::string> hosts_;
00021 };
00022 
00023 } // namespace cpr
00024 
00025 #endif


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:06