header.cpp 326 B

12345678910111213141516
  1. #include <string>
  2. #include "header.hpp"
  3. cx_cpp_http::header::header(std::string title, std::string content) {
  4. this->title = title;
  5. this->content = content;
  6. }
  7. std::string cx_cpp_http::header::get_title() {
  8. return this->title;
  9. }
  10. std::string cx_cpp_http::header::get_content() {
  11. return this->content;
  12. }