Method Standards.URI()->cast() Method cast (string)Standards.URI()(mapping)Standards.URI() Description When cast to string, return the URI (in a canonicalized form). When cast to mapping, return a mapping with scheme, authority, user, password, host, port, path, query, fragment, raw_uri, base_uri as documented above.