cookies.h
Go to the documentation of this file.
00001 #ifndef CPR_COOKIES_H
00002 #define CPR_COOKIES_H
00003 
00004 #include <initializer_list>
00005 #include <map>
00006 #include <sstream>
00007 #include <string>
00008 
00009 namespace cpr {
00010 
00011 class Cookies {
00012   public:
00013     Cookies() {}
00014     Cookies(const std::initializer_list<std::pair<const std::string, std::string>>& pairs);
00015     Cookies(const std::map<std::string, std::string>& map) : map_{map} {}
00016 
00017     std::string& operator[](const std::string& key);
00018     std::string GetEncoded() const;
00019 
00020   private:
00021     std::map<std::string, std::string> map_;
00022 };
00023 
00024 } // namespace cpr
00025 
00026 #endif


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