UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
UPnPsdk::anonymous_namespace{uri.cpp} Namespace Reference

Functions

bool is_ipv4_addr (const std::string &ip)
 Check if string is a valid IPv4 address.
 
bool is_dns_name (const std::string &label)
 Check if a string conforms to a DNS name.
 
std::string_view get_scheme (std::string_view a_uri_sv)
 Separates the scheme component from a URI.
 
std::string_view get_authority (std::string_view a_uriref_sv)
 Separates the authority component from a URI reference.
 
std::string_view get_userinfo (std::string_view a_uriref_sv)
 Separates the authority userinfo subcomponent from a URI reference.
 
std::string_view get_host (std::string_view a_uriref_sv)
 Separates the authority host subcomponent from a URI reference.
 
std::string_view get_port (std::string_view a_uriref_sv)
 Separates the authority port subcomponent from a URI reference.
 
std::string_view get_path (std::string_view a_uriref_sv)
 Separates the path component from a URI reference.
 
std::string_view get_query (std::string_view a_uriref_sv)
 Separates the query component from a URI reference.
 
std::string_view get_fragment (std::string_view a_uriref_sv)
 Separates the fragment component from a URI reference.
 
void merge_paths (CPath &a_path, const CUriRef &a_base, const CUriRef &a_rel)
 Merge a relative reference to a base URI.