RESTinio
|
A matcher that finds a value in the vector of disabled values of fixed size. More...
#include <method_matcher.hpp>
Public Member Functions | |
bool | match (const http_method_id_t &method) const noexcept override |
Is the specified method can be applied to a route? | |
Public Member Functions inherited from restinio::router::impl::fixed_size_any_of_matcher_t< Size > | |
fixed_size_any_of_matcher_t (std::initializer_list< http_method_id_t > values) | |
Initializing constructor. | |
Public Member Functions inherited from restinio::router::method_matcher_t | |
method_matcher_t (const method_matcher_t &)=default | |
method_matcher_t & | operator= (const method_matcher_t &)=default |
method_matcher_t (method_matcher_t &&)=default | |
method_matcher_t & | operator= (method_matcher_t &&)=default |
method_matcher_t ()=default | |
virtual | ~method_matcher_t ()=default |
Private Types | |
using | base_type_t = fixed_size_any_of_matcher_t<Size> |
A matcher that finds a value in the vector of disabled values of fixed size.
A method is allowed if it isn't found in the vector of disabled values.
Definition at line 183 of file method_matcher.hpp.
|
private |
Definition at line 186 of file method_matcher.hpp.
|
inlinenodiscardoverridevirtualnoexcept |
Is the specified method can be applied to a route?
true | if method can be applied to a route. |
false | if method can't be applied to a route. |
Reimplemented from restinio::router::impl::fixed_size_any_of_matcher_t< Size >.
Definition at line 193 of file method_matcher.hpp.