Module pre_path

Module pre_path 

Source

Structs§

PrePath
The parsing data for a web-based URL before the path.

Functions§

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_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_scheme_len
Parses the scheme length from the prefix of s.