Scoop API

scoop:scoop.url:0.1.0

UrlHost

enum UrlHost

source · line 9
public
public enum UrlHost : Equals<UrlHost>, Hash, ToString

A validated network host represented as a DNS A-label name or exact IP address bytes.

function toString

source · line 43
public
public override fun toString(): String

Serializes the DNS name or IP literal for use in a URI authority.

function hash

source · line 35
public
public override fun hash(): Long

Hashes the same normalized host identity used by equality.