#include <http_reply.hpp>
Public Member Functions | |
| ReplyBuilder & | header (const std::string &name, const std::string &value) |
| ReplyBuilder & | header (const HttpHeader &header) |
| ReplyBuilder & | headers (const std::vector< HttpHeader > &headers) |
| ReplyBuilder (HttpReply::status_type status) | |
| void | write (HttpConnectionPtr connection) |
Private Attributes | |
| boost::shared_ptr< std::vector < HttpHeader > > | headers_ |
| HttpReply::status_type | status_ |
Object to build and send reply headers
Definition at line 75 of file http_reply.hpp.
Definition at line 297 of file http_reply.cpp.
| ReplyBuilder & async_web_server_cpp::ReplyBuilder::header | ( | const std::string & | name, |
| const std::string & | value | ||
| ) |
Add a header to the reply
Definition at line 302 of file http_reply.cpp.
| ReplyBuilder & async_web_server_cpp::ReplyBuilder::header | ( | const HttpHeader & | header | ) |
Add a header to the reply
Definition at line 307 of file http_reply.cpp.
| ReplyBuilder & async_web_server_cpp::ReplyBuilder::headers | ( | const std::vector< HttpHeader > & | headers | ) |
Add a group of headers to the reply
Definition at line 313 of file http_reply.cpp.
| void async_web_server_cpp::ReplyBuilder::write | ( | HttpConnectionPtr | connection | ) |
Send the headers over the connection
Definition at line 319 of file http_reply.cpp.
boost::shared_ptr<std::vector<HttpHeader> > async_web_server_cpp::ReplyBuilder::headers_ [private] |
Definition at line 102 of file http_reply.hpp.
Definition at line 101 of file http_reply.hpp.