This module provides utility functions for working with URIs, according to RFC 3986.
Type definitions that are used more than once in this module:
Type definitions that are related to URI:
For more information about URI, see RFC 3986.
Decode a possibly hex encoded URI.
Hex encode an URI.
This function is used to parse an URI. If no scheme defaults
are provided, the value of
Note that when parsing an URI with an unknown scheme (that is, a scheme not found in the scheme defaults) a port number must be provided or else the parsing will fail.
If the fragment option is true, the URI fragment will be returned as part of the parsing result, otherwise it is completely ignored.
This function provides a list of the scheme and their default port numbers currently supported (by default) by this utility.