|
RESTinio
|
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>
Public Member Functions | |
| dynamic_none_of_methods_matcher_t ()=default | |
| bool | match (const http_method_id_t &method) const noexcept override |
| Is the specified method can be applied to a route? More... | |
| dynamic_none_of_methods_matcher_t & | add (http_method_id_t method) |
| std::size_t | size () const noexcept |
| bool | empty () const noexcept |
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 Attributes | |
| std::vector< http_method_id_t > | m_methods |
An implementation of method_matcher that allows a method if it isn't found in a dynamic list of disabled methods.
Usage example:
Definition at line 536 of file method_matcher.hpp.
|
default |
|
inline |
Definition at line 555 of file method_matcher.hpp.
|
inlinenoexcept |
Definition at line 570 of file method_matcher.hpp.
|
inlineoverridevirtualnoexcept |
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. |
Implements restinio::router::method_matcher_t.
Definition at line 545 of file method_matcher.hpp.
|
inlinenoexcept |
Definition at line 563 of file method_matcher.hpp.
|
private |
Definition at line 538 of file method_matcher.hpp.
1.8.14