xtd 0.2.0
Loading...
Searching...
No Matches

◆ uri_format

enum class xtd::uri_format
strong

Controls how URI information is escaped.

Namespace
xtd
Library
xtd.core
Remarks
This enumeration is used by the xtd::uri::get_components method to specify the level of character escaping in the returned URI.
RFC 2396 defines the standard escaping for URIs, and is available at https://rfc-editor.org.
xtd::uri_format::safe_unescaped leaves the following characters escaped if the character has a reserved meaning in the requested xtd::uri_components: "%", "#", "?", "/", "\", and "".
Enumerator
safe_unescaped 

Characters that have a reserved meaning in the requested URI components remain escaped. All others are not escaped. See Remarks.

unescaped 

No escaping is performed.

uri_escaped 

Escaping is performed according to the rules in RFC 2396.