A set of WebSocket web apps provided by the Balau library. More...
Classes | |
class | EchoingWsWebApp |
WebSocket web application that echos messages back to the client. More... | |
class | NullWsWebApp |
A WebSocket web application that silently consumes. More... | |
class | RoutingWsWebApp |
A WebSocket web application handler that routes to other handlers. More... | |
Functions | |
template<typename HandlerT , typename ... ParamT> | |
RoutingWsWebApp::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 > | |
RoutingWsWebApp::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 WebSocket 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.