Classes
The following classes are available globally.
-
TLDExtract is a class that extracts the top-level domain (TLD) from a given hostname. It can fetch the public suffix list from a remote source or use a frozen dataset.
See moreThrows
Throws:
- TLDExtractError.pslParseError if there is an error while parsing the public suffix list.
Declaration
Swift
public class TLDExtractParameters
useFrozenDataA Boolean value indicating whether to use a pre-fetched public suffix list.
View on GitHub
Install in Dash
Classes Reference