state The current state of the connection. Declarationfinal var state: NWConnection.State { get } See AlsoHandling State UpdatesNWConnection.StatestateUpdateHandler