A reply to be sent to a client. More...
#include <reply.h>
Public Types | |
enum | status_type { ok = 200, created = 201, accepted = 202, no_content = 204, multiple_choices = 300, moved_permanently = 301, moved_temporarily = 302, not_modified = 304, bad_request = 400, unauthorized = 401, forbidden = 403, not_found = 404, internal_server_error = 500, not_implemented = 501, bad_gateway = 502, service_unavailable = 503 } |
The status of the reply. More... | |
Public Member Functions | |
std::vector < boost::asio::const_buffer > | to_buffers () |
Static Public Member Functions | |
static reply | stock_reply (status_type status) |
Get a stock reply. | |
Public Attributes | |
std::string | content |
The content to be sent in the reply. | |
std::vector< header > | headers |
The headers to be included in the reply. | |
enum ros_http_video_streamer::reply::status_type | status |
reply ros_http_video_streamer::reply::stock_reply | ( | reply::status_type | status | ) | [static] |
std::vector< boost::asio::const_buffer > ros_http_video_streamer::reply::to_buffers | ( | ) |
std::string ros_http_video_streamer::reply::content |
std::vector<header> ros_http_video_streamer::reply::headers |