uri: add accessor for base value

This commit is contained in:
Danny Robson 2021-11-07 11:13:15 +10:00
parent 3cf386390f
commit bdcb5c03c7

View File

@ -74,6 +74,7 @@ namespace cruft {
}
cruft::view<const char*> all (void) const& { return cruft::make_view (m_value); }
std::string const& value (void) const& { return m_value; }
cruft::view<const char*> scheme (void) const& { return get (SCHEME); }
cruft::view<const char*> heirarchical (void) const& { return get (HIERARCHICAL); }