Initializers

The following initializers are available globally.

  • Creates an instance with specific hostname

    Declaration

    Swift

    public init(with hostname: String)

    Parameters

    hostname

    URL for hostname

  • Creates an instance without specific hostname

    Declaration

    Swift

    public init()