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

◆ uri_kind

enum class xtd::uri_kind
strong

Defines the kinds of Uris for the xtd::uri::is_well_formed_uri_string and several xtd::uri methods.

Namespace
xtd
Library
xtd.core
Remarks
Absolute URIs are characterized by a complete reference to the resource (example: http://www.contoso.com/index.html), while a relative URI depends on a previously defined base URI (example: /index.html).
The following list shows some APIs that use the xtd::uri_kind enum:
  • xtd::uri::uri(const xtd::utring&, xtd::uri_kind)
  • xtd::uri::is_well_formed_uri_string(const xtd::utring&, xtd::uri_kind)
  • xtd::uri::try_create(const xtd::utring&, xtd::uri_kind, xtd::uri&)
Enumerator
relative_or_absolute 

The kind of the xtd::uri is indeterminate.

absolute 

The xtd::uri is an absolute xtd::uri.

relative 

The xtd::uri is a relative xtd::uri.