#include <airinv/server/Reply.hpp>
Public Member Functions | |
std::vector< boost::asio::const_buffer > | to_buffers () |
Public Attributes | |
FlightRequestStatus::EN_FlightRequestStatus | _status |
std::string | content |
std::vector< boost::asio::const_buffer > AIRINV::Reply::to_buffers | ( | ) |
Convert the reply into a vector of buffers. The buffers do not own the underlying memory blocks, therefore the reply object must remain valid and not be changed until the write operation has completed.
Definition at line 15 of file Reply.cpp.
References content.
Referenced by AIRINV::Connection::start().
FlightRequestStatus::EN_FlightRequestStatus AIRINV::Reply::_status |
Status.
Definition at line 20 of file Reply.hpp.
Referenced by AIRINV::RequestHandler::handleRequest().
std::string AIRINV::Reply::content |
The content to be sent in the reply.
Definition at line 23 of file Reply.hpp.
Referenced by AIRINV::RequestHandler::handleRequest(), and to_buffers().