Public Member Functions | Private Attributes
async_web_server_cpp::ReplyBuilder Class Reference

#include <http_reply.hpp>

List of all members.

Public Member Functions

ReplyBuilderheader (const std::string &name, const std::string &value)
ReplyBuilderheader (const HttpHeader &header)
ReplyBuilderheaders (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_

Detailed Description

Object to build and send reply headers

Definition at line 75 of file http_reply.hpp.


Constructor & Destructor Documentation

Definition at line 297 of file http_reply.cpp.


Member Function Documentation

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.

Add a header to the reply

Definition at line 307 of file http_reply.cpp.

Add a group of headers to the reply

Definition at line 313 of file http_reply.cpp.

Send the headers over the connection

Definition at line 319 of file http_reply.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:27:39