17 #ifndef IHTTPRESPONSE_HPP_
18 #define IHTTPRESPONSE_HPP_
23 #include <boost/shared_array.hpp>
29 typedef std::pair<boost::shared_array<std::uint8_t>,
size_t>
SharedBody;
33 virtual std::string
getHeaderField(
const std::string& name)
const = 0;
virtual SharedBody getBody() const =0
virtual std::string getHeaderField(const std::string &name) const =0
virtual int getStatusCode() const =0
std::pair< boost::shared_array< std::uint8_t >, size_t > SharedBody