HAKit
public enum HAKit
Namespace entrypoint of the library
-
Create a new connection
Declaration
Swift
public static func connection( configuration: HAConnectionConfiguration, connectAutomatically: Bool = true ) -> HAConnectionParameters
configurationThe configuration for the connection
connectAutomaticallyDefaults to
true. Whether to call .connect() automatically.Return Value
The connection itself
View on GitHub