Namespaces | |
misc_strings | |
status_strings | |
stock_replies | |
Classes | |
class | BodyCollectingConnection |
class | FileHttpRequestHandler |
class | FilesystemHttpRequestHandler |
class | HttpConnection |
struct | HttpHeader |
struct | HttpReply |
struct | HttpRequest |
class | HttpRequestBodyCollector |
class | HttpRequestHandlerGroup |
class | HttpRequestParser |
class | HttpServer |
class | PathMatcher |
class | ReplyBuilder |
class | StaticHttpRequestHandler |
class | WebsocketConnection |
class | WebsocketFrame |
class | WebsocketFrameBuffer |
class | WebsocketFrameParser |
class | WebsocketHttpRequestHandler |
class | WebsocketMessage |
Typedefs | |
typedef boost::shared_ptr< BodyCollectingConnection > | BodyCollectingConnectionPtr |
typedef boost::weak_ptr< BodyCollectingConnection > | BodyCollectingConnectionWeakPtr |
typedef boost::shared_ptr< HttpConnection > | HttpConnectionPtr |
typedef boost::weak_ptr< HttpConnection > | HttpConnectionWeakPtr |
typedef boost::function< bool(const HttpRequest &, boost::shared_ptr< HttpConnection >, const char *begin, const char *end)> | HttpServerRequestHandler |
typedef boost::shared_ptr< WebsocketConnection > | WebsocketConnectionPtr |
typedef boost::weak_ptr< WebsocketConnection > | WebsocketConnectionWeakPtr |
typedef boost::function< WebsocketConnection::MessageHandler(const HttpRequest &, boost::shared_ptr< WebsocketConnection >)> | WebsocketRequestHandler |
Functions | |
static bool | hasContentType (const std::vector< HttpHeader > &headers) |
static bool | serveFromFile (HttpReply::status_type status, const std::string &filename, const std::vector< HttpHeader > &headers, boost::shared_ptr< HttpConnection > connection) |
static std::string | sniffContentType (const std::string &filename) |
static boost::regex | uri_regex ("(.*?)(?:\\?(.*?))?") |
typedef boost::shared_ptr<BodyCollectingConnection> async_web_server_cpp::BodyCollectingConnectionPtr |
Definition at line 70 of file http_request_handler.cpp.
typedef boost::weak_ptr<BodyCollectingConnection> async_web_server_cpp::BodyCollectingConnectionWeakPtr |
Definition at line 73 of file http_request_handler.cpp.
typedef boost::shared_ptr<HttpConnection> async_web_server_cpp::HttpConnectionPtr |
Definition at line 17 of file http_connection.hpp.
typedef boost::weak_ptr<HttpConnection> async_web_server_cpp::HttpConnectionWeakPtr |
Definition at line 19 of file http_connection.hpp.
typedef boost::function<bool(const HttpRequest&, boost::shared_ptr<HttpConnection>, const char* begin, const char* end)> async_web_server_cpp::HttpServerRequestHandler |
A handler for requests Should return true if the request was successfuly handled Returning false will cause the next matching handler to be triggered If false is returned then nothing should be written to the connection
Definition at line 12 of file http_request_handler.hpp.
typedef boost::shared_ptr<WebsocketConnection> async_web_server_cpp::WebsocketConnectionPtr |
Definition at line 18 of file websocket_connection.hpp.
typedef boost::weak_ptr<WebsocketConnection> async_web_server_cpp::WebsocketConnectionWeakPtr |
Definition at line 20 of file websocket_connection.hpp.
typedef boost::function<WebsocketConnection::MessageHandler( const HttpRequest&, boost::shared_ptr<WebsocketConnection>)> async_web_server_cpp::WebsocketRequestHandler |
Definition at line 13 of file websocket_request_handler.hpp.
|
static |
Definition at line 256 of file http_reply.cpp.
|
static |
Definition at line 287 of file http_reply.cpp.
|
static |
Definition at line 266 of file http_reply.cpp.
|
static |