Contents

init(excluded:stripWWW:levels:enumerateHierarchy:)

Creates a new domain options configuration with default values.

Declaration

init(excluded: Bool = false, stripWWW: Bool = true, levels: UInt = 0, enumerateHierarchy: Bool = true)

Discussion

The domain options default behavior is as follows:

  • Parsing includes the domain.

  • Parsing strips the www subdomain if it is present.

  • Parsing includes all domain levels.

  • Parsing enables enumeration of the domain hierarchy.