Namespaces | Classes | Typedefs | Functions
async_web_server_cpp Namespace Reference

Namespaces

namespace  misc_strings
namespace  status_strings
namespace  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 serveFromFile (HttpReply::status_type status, const std::string &filename, const std::vector< HttpHeader > &headers, boost::shared_ptr< HttpConnection > connection)
static boost::regex uri_regex ("(.*?)(?:\\?(.*?))?")

Typedef Documentation

Definition at line 60 of file http_request_handler.cpp.

Definition at line 62 of file http_request_handler.cpp.

Definition at line 16 of file http_connection.hpp.

Definition at line 18 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 11 of file http_request_handler.hpp.

Definition at line 17 of file websocket_connection.hpp.

Definition at line 19 of file websocket_connection.hpp.

Definition at line 12 of file websocket_request_handler.hpp.


Function Documentation

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]

Definition at line 267 of file http_reply.cpp.

static boost::regex async_web_server_cpp::uri_regex ( "(.*?)(?:\\?(.*?))?"  ) [static]


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Sat Jun 8 2019 18:56:50