00001 #ifndef CPR_CPR_TYPES_H 00002 #define CPR_CPR_TYPES_H 00003 00004 #include <map> 00005 #include <string> 00006 00007 namespace cpr { 00008 00009 struct CaseInsensitiveCompare { 00010 bool operator()(const std::string& a, const std::string& b) const noexcept; 00011 }; 00012 00013 using Header = std::map<std::string, std::string, CaseInsensitiveCompare>; 00014 using Url = std::string; 00015 00016 } // namespace cpr 00017 00018 #endif