enum UrlComponent
source · line 6public
public enum UrlComponent
The component responsible for a URL parsing or construction failure.
variant Query
source · line 38public
Query
The failure concerns the query component.
variant Authority
source · line 18public
Authority
The failure concerns the complete authority.
variant Path
source · line 34public
Path
The failure concerns the path component.
variant Scheme
source · line 14public
Scheme
The failure concerns the scheme prefix.
variant Reference
source · line 10public
Reference
The failure concerns the complete reference or its overall structure.
variant Fragment
source · line 42public
Fragment
The failure concerns the fragment component.
variant Port
source · line 30public
Port
The failure concerns the explicit network port.
variant PercentEncoding
source · line 46public
PercentEncoding
The failure concerns a malformed percent escape or decoded component.
variant Host
source · line 26public
Host
The failure concerns the DNS or IP host.
variant UserInfo
source · line 22public
UserInfo
The failure concerns the authority's user information.
function equals
source · line 6publiccompiler-derived
operator fun equals(other: UrlComponent): Boolean
This derived operation is available when each field or payload type supports same-type equality.