TLDResult
public struct TLDResult
A structure that represents the result of a top-level domain extraction.
This structure contains the components of a domain name, including:
rootDomain
: The root domain of the URL or domain name.topLevelDomain
: The top-level domain (TLD) of the URL or domain name.secondLevelDomain
: The second-level domain (SLD) of the URL or domain name.subDomain
: The subdomain of the URL or domain name.
-
Undocumented
Declaration
Swift
public let rootDomain: String?
-
Undocumented
Declaration
Swift
public let topLevelDomain: String?
-
Undocumented
Declaration
Swift
public let secondLevelDomain: String?
-
Undocumented
Declaration
Swift
public let subDomain: String?