RESTinio
|
A proxy for actual method_matcher that will be allocated in dynamic memory. More...
#include <method_matcher.hpp>
Public Member Functions | |
template<typename... Args> | |
allocated_matcher_proxy_t (Args &&...args) | |
RESTINIO_NODISCARD bool | match (const http_method_id_t &method) const noexcept override |
Is the specified method can be applied to a route? More... | |
![]() | |
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 |
virtual RESTINIO_NODISCARD bool | match (const http_method_id_t &method) const noexcept=0 |
Is the specified method can be applied to a route? More... | |
Private Attributes | |
std::unique_ptr< Matcher > | m_matcher |
A proxy for actual method_matcher that will be allocated in dynamic memory.
An instance of Matcher class will be allocated automatically in the constructor of allocated_matcher_proxy_t.
Definition at line 80 of file method_matcher.hpp.
|
inline |
Definition at line 86 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 92 of file method_matcher.hpp.
|
private |
Definition at line 82 of file method_matcher.hpp.