An implementation of method_matcher that allows a method if it isn't found in a dynamic list of disabled methods.
More...
#include <method_matcher.hpp>
An implementation of method_matcher that allows a method if it isn't found in a dynamic list of disabled methods.
Usage example:
if(
config.handle_get_method())
if(
config.handle_head_method())
"/users/:id",
[](
const auto &
req,
auto & params) {...});
An implementation of method_matcher that allows a method if it isn't found in a dynamic list of disab...
dynamic_none_of_methods_matcher_t & add(http_method_id_t method)
run_on_this_thread_settings_t< Traits > on_this_thread()
A special marker for the case when http_server must be run on the context of the current thread.
- Since
- v.0.6.6
Definition at line 536 of file method_matcher.hpp.
◆ dynamic_none_of_methods_matcher_t()
restinio::router::dynamic_none_of_methods_matcher_t::dynamic_none_of_methods_matcher_t |
( |
| ) |
|
|
default |
◆ add()
◆ empty()
◆ match()
|
inlineoverridevirtualnoexcept |
◆ size()
RESTINIO_NODISCARD std::size_t restinio::router::dynamic_none_of_methods_matcher_t::size |
( |
| ) |
const |
|
inlinenoexcept |
◆ m_methods
std::vector< http_method_id_t > restinio::router::dynamic_none_of_methods_matcher_t::m_methods |
|
private |
The documentation for this class was generated from the following file: