#include "async_web_server_cpp/http_reply.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <fstream>
Go to the source code of this file.
Namespaces | |
async_web_server_cpp | |
async_web_server_cpp::misc_strings | |
async_web_server_cpp::status_strings | |
async_web_server_cpp::stock_replies | |
Functions | |
static bool | async_web_server_cpp::hasContentType (const std::vector< HttpHeader > &headers) |
static bool | async_web_server_cpp::serveFromFile (HttpReply::status_type status, const std::string &filename, const std::vector< HttpHeader > &headers, boost::shared_ptr< HttpConnection > connection) |
static std::string | async_web_server_cpp::sniffContentType (const std::string &filename) |
boost::asio::const_buffer | async_web_server_cpp::status_strings::to_buffer (HttpReply::status_type status) |
std::string | async_web_server_cpp::stock_replies::to_string (HttpReply::status_type status) |