Instance Property
localAddress
The IP address string of the local interface for the connection.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Declaration
var localAddress: String? { get }
Discussion
For multipath protocols, this is the local address of the initial flow. If the app didn’t use the connection, this value is nil
.
See Also
Accessing Transaction Characteristics
var isCellular: Bool
A Boolean value that indicates whether the connection operates over a cellular interface.
var isExpensive: Bool
A Boolean value that indicates whether the connection operates over an expensive interface.
var isConstrained: Bool
A Boolean value that indicates whether the connection operates over an interface marked as constrained.
var isMultipath: Bool
A Boolean value that indicates whether the connection uses a successfully negotiated multipath protocol.