Skip to main content

Module authority

Module authority 

Source
Expand description

Utilities for parsing authorities.

Structs§

Authority
Represents a parsed authority.

Enums§

AuthorityError
An error that can occur when parsing an authority.
Host
Represents a parsed host.

Functions§

is_valid_host
Returns whether host is a valid domain, IP address, or host:port/ip:port pair.