Options for matching routes.
More...
#include <path2regex.hpp>
Options for matching routes.
- Examples
- sample/sendfiles/main.cpp.
Definition at line 91 of file path2regex.hpp.
◆ delimiter() [1/3]
const std::string & restinio::path2regex::options_t::delimiter |
( |
| ) |
const |
|
inline |
◆ delimiter() [2/3]
options_t & restinio::path2regex::options_t::delimiter |
( |
std::string |
p | ) |
& |
|
inline |
◆ delimiter() [3/3]
options_t && restinio::path2regex::options_t::delimiter |
( |
std::string |
p | ) |
&& |
|
inline |
◆ delimiters() [1/3]
const std::string & restinio::path2regex::options_t::delimiters |
( |
| ) |
const |
|
inline |
◆ delimiters() [2/3]
options_t & restinio::path2regex::options_t::delimiters |
( |
std::string |
p | ) |
& |
|
inline |
◆ delimiters() [3/3]
options_t && restinio::path2regex::options_t::delimiters |
( |
std::string |
p | ) |
&& |
|
inline |
◆ ending() [1/3]
bool restinio::path2regex::options_t::ending |
( |
| ) |
const |
|
inline |
◆ ending() [2/3]
options_t & restinio::path2regex::options_t::ending |
( |
bool |
p | ) |
& |
|
inline |
◆ ending() [3/3]
options_t && restinio::path2regex::options_t::ending |
( |
bool |
p | ) |
&& |
|
inline |
◆ ends_with() [1/3]
const std::vector< std::string > & restinio::path2regex::options_t::ends_with |
( |
| ) |
const |
|
inline |
◆ ends_with() [2/3]
options_t & restinio::path2regex::options_t::ends_with |
( |
std::vector< std::string > |
p | ) |
& |
|
inline |
◆ ends_with() [3/3]
options_t && restinio::path2regex::options_t::ends_with |
( |
std::vector< std::string > |
p | ) |
&& |
|
inline |
◆ make_delimiter()
std::string restinio::path2regex::options_t::make_delimiter |
( |
std::string |
d | ) |
const |
|
inline |
◆ make_ends_with()
std::string restinio::path2regex::options_t::make_ends_with |
( |
| ) |
const |
|
inline |
◆ sensitive() [1/3]
bool restinio::path2regex::options_t::sensitive |
( |
| ) |
const |
|
inline |
◆ sensitive() [2/3]
options_t & restinio::path2regex::options_t::sensitive |
( |
bool |
s | ) |
& |
|
inline |
◆ sensitive() [3/3]
options_t && restinio::path2regex::options_t::sensitive |
( |
bool |
s | ) |
&& |
|
inline |
◆ strict() [1/3]
bool restinio::path2regex::options_t::strict |
( |
| ) |
const |
|
inline |
◆ strict() [2/3]
options_t & restinio::path2regex::options_t::strict |
( |
bool |
p | ) |
& |
|
inline |
◆ strict() [3/3]
options_t && restinio::path2regex::options_t::strict |
( |
bool |
p | ) |
&& |
|
inline |
◆ m_delimiter
std::string restinio::path2regex::options_t::m_delimiter { "/" } |
|
private |
◆ m_delimiters
std::string restinio::path2regex::options_t::m_delimiters { "./" } |
|
private |
◆ m_ending
bool restinio::path2regex::options_t::m_ending { true } |
|
private |
When false the path will match at the beginning.
Definition at line 245 of file path2regex.hpp.
◆ m_ends_with
std::vector< std::string > restinio::path2regex::options_t::m_ends_with |
|
private |
◆ m_sensitive
bool restinio::path2regex::options_t::m_sensitive { false } |
|
private |
When true the route will be case sensitive.
Definition at line 239 of file path2regex.hpp.
◆ m_strict
bool restinio::path2regex::options_t::m_strict { false } |
|
private |
When false the trailing slash is optional.
Definition at line 242 of file path2regex.hpp.
The documentation for this class was generated from the following file: