|
| TaggedRule (std::string rule) |
|
void | validate () override |
|
template<typename Func > |
void | operator() (Func &&f) |
|
template<typename Func > |
void | operator() (std::string name, Func &&f) |
|
void | handle (request &req, response &res, const routing_params ¶ms) override |
|
| BaseRule (std::string rule) |
|
void | set_added () |
|
bool | is_added () |
|
std::unique_ptr< BaseRule > | upgrade () |
|
virtual void | handle_upgrade (const request &, response &res, SocketAdaptor &&) |
|
virtual void | handle_upgrade (const request &, response &res, SSLAdaptor &&) |
|
uint32_t | get_methods () |
|
template<typename F > |
void | foreach_method (F f) |
|
const std::string & | rule () |
|
WebSocketRule< App > & | websocket (App *app) |
|
self_t & | name (std::string name) noexcept |
|
self_t & | methods (HTTPMethod method) |
|
self_t & | methods (HTTPMethod method, MethodArgs... args_method) |
|
self_t & | middlewares () |
| Enable local middleware for this handler.
|
|
template<typename... Args>
class crow::TaggedRule< Args >
Default rule created when CROW_ROUTE is called.