header.hpp 381 B

12345678910111213141516171819202122
  1. #ifndef CX_CPP_HTTP_HEADER_HPP_INCLUDED
  2. #define CX_CPP_HTTP_HEADER_HPP_INCLUDED
  3. #include <string>
  4. namespace cx_cpp_http {
  5. class header {
  6. public:
  7. header(std::string, std::string);
  8. std::string get_title();
  9. std::string get_content();
  10. private:
  11. std::string title;
  12. std::string content;
  13. };
  14. }
  15. #endif