RESTinio
Classes | Namespaces | Functions
method_matcher.hpp File Reference

Stuff related to method_matchers. More...

#include <restinio/http_headers.hpp>
#include <initializer_list>
#include <vector>

Go to the source code of this file.

Classes

struct  restinio::router::method_matcher_t
 An interface of method_matcher. More...
 
class  restinio::router::impl::allocated_matcher_proxy_t< Matcher >
 A proxy for actual method_matcher that will be allocated in dynamic memory. More...
 
class  restinio::router::impl::simple_matcher_t
 A simple method_matcher that compares just one user-specified value. More...
 
class  restinio::router::impl::fixed_size_any_of_matcher_t< Size >
 A matcher that finds a value in the vector of allowed values of fixed size. More...
 
class  restinio::router::impl::fixed_size_none_of_matcher_t< Size >
 A matcher that finds a value in the vector of disabled values of fixed size. More...
 
class  restinio::router::impl::buffered_matcher_holder_t
 A special class that allows to hold a copy of small-size method_matchers or a pointer to dynamically allocated large-size method_matchers. More...
 
class  restinio::router::dynamic_any_of_methods_matcher_t
 An implementation of method_matcher that allows a method if it's found in a dynamic list of allowed methods. More...
 
class  restinio::router::dynamic_none_of_methods_matcher_t
 An implementation of method_matcher that allows a method if it isn't found in a dynamic list of disabled methods. More...
 

Namespaces

namespace  restinio
 
namespace  restinio::router
 
namespace  restinio::router::impl
 

Functions

template<typename... Args>
RESTINIO_NODISCARD impl::fixed_size_any_of_matcher_t< sizeof...(Args) > restinio::router::any_of_methods (Args &&...args)
 A factory function that creates a method_matcher that allows a method if it's found in the list of allowed methods. More...
 
template<typename... Args>
RESTINIO_NODISCARD impl::fixed_size_none_of_matcher_t< sizeof...(Args) > restinio::router::none_of_methods (Args &&...args)
 A factory function that creates a method_matcher that allows a method if it isn't found in the list of disabled methods. More...
 

Detailed Description

Stuff related to method_matchers.

Since
v.0.6.6

Definition in file method_matcher.hpp.