#include <routing.h>
Public Types | |
| using | self_t = T |
Public Member Functions | |
| WebSocketRule & | websocket () |
| self_t & | name (std::string name) noexcept |
| self_t & | methods (HTTPMethod method) |
| template<typename ... MethodArgs> | |
| self_t & | methods (HTTPMethod method, MethodArgs ... args_method) |
Allows the user to assign parameters using functions.
rule.name("name").methods(HTTPMethod::POST)