A set of HTTP web apps provided by the Balau library. More...
Classes | |
class | CannedHttpWebApp |
An HTTP web application handler that serves a fixed response for each request method. More... | |
class | EmailSendingHttpWebApp |
An HTTP web application handler that sends an email when a post request is made. More... | |
class | FileServingHttpWebApp |
An HTTP web application handler that serve files from the file system. More... | |
class | RedirectingHttpWebApp |
An HTTP web application handler that performs 301 or 302 redirection for a range of HTTP paths. More... | |
class | RoutingHttpWebApp |
An HTTP web application handler that routes to other handlers. More... | |
Functions | |
template<typename HandlerT , typename ... ParamT> | |
RoutingHttpWebApp::Value | routingNode (const std::string &key, ParamT &&... param) |
Convenience function to make a routing node from a handler type, a string key, and the handler constructor arguments. More... | |
template<typename HandlerT > | |
RoutingHttpWebApp::Value | routingNode (const std::string &key) |
Convenience function to make routing nodes from a handler type, a string key, and no handler constructor arguments. More... | |
A set of HTTP web apps provided by the Balau library.
|
inline |
Convenience function to make a routing node from a handler type, a string key, and the handler constructor arguments.
The same handler will be used for GET, HEAD, and POST requests.
|
inline |
Convenience function to make routing nodes from a handler type, a string key, and no handler constructor arguments.
Convenience function to make null routing nodes.
The same handler will be used for GET, HEAD, and POST requests.