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 87 of file http_reply.hpp.


Constructor & Destructor Documentation

Definition at line 397 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 402 of file http_reply.cpp.

Add a header to the reply

Definition at line 407 of file http_reply.cpp.

Add a group of headers to the reply

Definition at line 413 of file http_reply.cpp.

Send the headers over the connection

Definition at line 419 of file http_reply.cpp.


Member Data Documentation

boost::shared_ptr<std::vector<HttpHeader> > async_web_server_cpp::ReplyBuilder::headers_ [private]

Definition at line 114 of file http_reply.hpp.

Definition at line 113 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 Sat Jun 8 2019 18:56:51