|
|
|
|
UriUtils class provides additional utilities for
CUri8 and CAuthority8 classes.
You can create URI (CUri8 object) from a Unicode
descriptor using UriUtils::CreateUriL(). Refer to
How to create a URI for details.
Validating for invalid data:
HasInvalidChars() checks for any excluded (also
called invalid) characters in the URI. The set of invalid characters are given
in the table below:
|
Validating valid host:
HostType() validates the URI for the following valid
host types as defined in TUriHostType:
IPv6, for example, 1080:0:0:0:8:800:200C:417A
IPv4, for example, 192.168.202.18
text form, for example, www.mywebpage.com