Structures
The following structures are available globally.
-
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.
Declaration
Swift
public struct TLDResult