Hostname

object Hostname
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class Label

Label component of a hostname.

Label component of a hostname.

Rules

  • 1 to 63 characters
  • Only consists of characters a-z, A-Z, 0-9 or a hyphen

RFC1123, section 2.1 "Host Names and Numbers"

See also
Companion
object
object Label
Companion
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def compare(a: Hostname, b: Hostname): Int
def parse(value: String): ValidatedNec[HostParseError, Hostname]
def parseF[F[_]](value: String)(using `evidence$2`: ApplicativeThrow[F]): F[Hostname]
def unsafe(value: String): Hostname

Implicits

Implicits

implicit val order: Order[Hostname]
implicit val ordering: Ordering[Hostname]
implicit val show: Show[Hostname]