struct Hub
extension Hub : Equatable, Hashable, Sendable
Represents a hub discovered by mDNS service discovery.
-
Undocumented
Declaration
Swift
let serviceInstanceName: String
-
Undocumented
Declaration
Swift
let serviceType: String
-
Undocumented
Declaration
Swift
let port: UInt16
-
List of IP address of the hub.
e.g. [“10.172.1.10”, …].
Declaration
Swift
let ipAddresses: [String]
-
mDNS TXT record.
Declaration
Swift
let attributes: [String : String]
-
Undocumented
Declaration
Swift
init(serviceInstanceName: String, serviceType: String, port: UInt16, ipAddresses: [String], attributes: [String : String])