#include <urlparser.hpp>
|
constexpr | TargetParser ()=default |
|
| TargetParser (std::string_view url) |
|
void | setURL (const char *v) |
|
void | setURL (std::string_view sv) |
|
constexpr std::string_view | getPath () const noexcept |
|
constexpr std::string_view | getURL () const noexcept |
|
constexpr const flatmap< std::string_view, std::string_view > & | getQueries () const noexcept |
|
constexpr const std::vector< std::string_view > & | getPathParts () const noexcept |
|
constexpr std::string_view | operator[] (std::string_view key) const noexcept |
|
constexpr std::optional< bool > | getBool (std::string_view key) const noexcept |
|
|
constexpr std::string_view | match () noexcept |
|
void | parse_queries (std::string_view sv_query) noexcept |
|
void | parse () noexcept |
|
|
std::string_view | url {} |
|
std::string_view | path {} |
|
std::vector< std::string_view > | path_parts = {} |
|
flatmap< std::string_view, std::string_view > | queries = {} |
|
constexpr TargetParser::TargetParser |
( |
| ) |
|
|
default |
TargetParser::TargetParser |
( |
std::string_view |
url | ) |
|
|
inlineexplicit |
constexpr std::optional<bool> TargetParser::getBool |
( |
std::string_view |
key | ) |
const |
|
inlinenoexcept |
constexpr std::string_view TargetParser::getPath |
( |
| ) |
const |
|
inlinenoexcept |
constexpr const std::vector<std::string_view>& TargetParser::getPathParts |
( |
| ) |
const |
|
inlinenoexcept |
constexpr const flatmap<std::string_view, std::string_view>& TargetParser::getQueries |
( |
| ) |
const |
|
inlinenoexcept |
constexpr std::string_view TargetParser::getURL |
( |
| ) |
const |
|
inlinenoexcept |
constexpr std::string_view TargetParser::match |
( |
| ) |
|
|
inlineprotectednoexcept |
constexpr std::string_view TargetParser::operator[] |
( |
std::string_view |
key | ) |
const |
|
inlinenoexcept |
void TargetParser::parse |
( |
| ) |
|
|
inlineprotectednoexcept |
void TargetParser::parse_queries |
( |
std::string_view |
sv_query | ) |
|
|
inlineprotectednoexcept |
void TargetParser::setURL |
( |
const char * |
v | ) |
|
|
inline |
void TargetParser::setURL |
( |
std::string_view |
sv | ) |
|
|
inline |
std::string_view TargetParser::path {} |
|
protected |
std::vector<std::string_view> TargetParser::path_parts = {} |
|
protected |
flatmap<std::string_view, std::string_view> TargetParser::queries = {} |
|
protected |
std::string_view TargetParser::url {} |
|
protected |
The documentation for this class was generated from the following file: