Scoop API

scoop:scoop.url:0.1.0

UrlComponent

enum UrlComponent

source · line 6
public
public enum UrlComponent

The component responsible for a URL parsing or construction failure.

variant Query

source · line 38
public
Query

The failure concerns the query component.

variant Authority

source · line 18
public
Authority

The failure concerns the complete authority.

variant Path

source · line 34
public
Path

The failure concerns the path component.

variant Scheme

source · line 14
public
Scheme

The failure concerns the scheme prefix.

variant Reference

source · line 10
public
Reference

The failure concerns the complete reference or its overall structure.

variant Fragment

source · line 42
public
Fragment

The failure concerns the fragment component.

variant Port

source · line 30
public
Port

The failure concerns the explicit network port.

variant PercentEncoding

source · line 46
public
PercentEncoding

The failure concerns a malformed percent escape or decoded component.

variant Host

source · line 26
public
Host

The failure concerns the DNS or IP host.

variant UserInfo

source · line 22
public
UserInfo

The failure concerns the authority's user information.

function equals

source · line 6
publiccompiler-derived
operator fun equals(other: UrlComponent): Boolean

This derived operation is available when each field or payload type supports same-type equality.