TLDExtractable

public protocol TLDExtractable

A protocol that requires conforming types to provide a hostname as a String. This protocol is used to extract top-level domains from various input types.

  • Undocumented

    Declaration

    Swift

    var hostname: String? { get }