Typedef async_web_server_cpp::HttpServerRequestHandler

Typedef Documentation

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