1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-07-02 14:04:16 +00:00

First commit

This commit is contained in:
King_DuckZ 2017-04-04 20:58:40 +01:00
commit fea5b738df
16 changed files with 315 additions and 0 deletions

17
src/response.cpp Normal file
View file

@ -0,0 +1,17 @@
#include "response.hpp"
#include <utility>
namespace tawashi {
Response::Response (std::string&& parType) :
m_content_type(std::move(parType))
{
}
Response::~Response() noexcept = default;
void Response::send() {
std::cout << "Content-type:" << m_content_type << "\n\n";
this->on_send(std::cout);
std::cout.flush();
}
} //namespace tawashi