Get the raw URI string.
Get scheme (e.g., "http", "https", "urn").
Get the length of the URI string.
StaticcodecTagged-CBOR codec; decode also accepts the untagged form.
StaticfromGet the URI as a string reference.
Get the URI string.
Get the URI string (alias).
Get path component.
Check if URI is absolute (has a scheme).
Check if URI is relative.
Check if URI starts with given prefix.
Get base64 representation of the URI string.
The CBOR tags this type decodes from; the first one is used to encode.
Returns the untagged CBOR encoding (as a text string).
The tagged CBOR form.
As a UR, typed by the first tag's name.
Staticfrom
Uniform Resource Identifier (URI) - String-based identifier
A URI is a string of characters that unambiguously identifies a particular resource. This implementation validates URIs using the URL API to ensure conformance to RFC 3986.
URIs are commonly used for:
CBOR Serialization
URIis serialized to CBOR with tag 32 (standard URI tag).UR Serialization
When serialized as a Uniform Resource (UR), a
URIis represented with the type "url".