Module parse

Source

Structs§

PathPlus
The parsing data for a web-based URL from the path to the end.
PrePath
The parsing data for a web-based URL before the path.

Enums§

Error
An error parsing a web-based URL.

Functions§

parse_fragment
Parses the optional fragment.
parse_host
Parses the host string from the prefix of s.
parse_ip_and_validate_domain
Parses the optional IP address from the host string. If the host is not an IP address the domain will be validated (case-insensitively).
parse_path
Parses the path from the prefix of s.
parse_path_plus
Parses the path_plus.
parse_port
Parses the port from the prefix of s.
parse_pre_path
Parses the pre-path portion of the URL. The scheme & host will be validated but may be uppercase.
parse_query
Parses the optional query from the prefix of s.
parse_scheme_len
Parses the scheme length from the prefix of s.