Domain
Parsing, forms, and comparison for Domain.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Domain.type
Members list
Type members
Classlikes
Why a name was refused: a label that is not one, or a name past the size limits, which RFC 5321 states in octets rather than characters.
Why a name was refused: a label that is not one, or a name past the size limits, which RFC 5321 states in octets rather than characters.
Attributes
- Companion
- object
- Supertypes
-
class WorldErrorclass TypedErrortrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Value members
Concrete methods
Parses a name and lower-cases its ASCII. Internationalised labels are kept as written: UTS 46 case folding and the NFC form RFC 5891 requires are the caller's to apply before parsing.
Parses a name and lower-cases its ASCII. Internationalised labels are kept as written: UTS 46 case folding and the NFC form RFC 5891 requires are the caller's to apply before parsing.
Attributes
Givens
Givens
Extensions
Extensions
The all-ASCII form, every label through Punycode. Always available, unlike an address's, because every domain has one.
The all-ASCII form, every label through Punycode. Always available, unlike an address's, because every domain has one.
Attributes
Whether any label is non-ASCII, so transport needs the internationalised profile.
Whether any label is non-ASCII, so transport needs the internationalised profile.
Attributes
Whether both names are the same domain, whichever way each was written. == answers the narrower question of whether they were written alike.
Whether both names are the same domain, whichever way each was written. == answers the narrower question of whether they were written alike.
Attributes
The name as stored, lower-cased - what Domain.parse reads back.