Instance Property
remoteAddress
The IP address string of the remote interface for the connection.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Declaration
@property(copy, readonly) NSString *remoteAddress;
Discussion
For multipath protocols, this is the remote address of the initial flow. If the app didn’t use the connection, this value is nil
.
See Also
Accessing Transaction Characteristics
remotePort
The port number of the remote interface for the connection.
localAddress
The IP address string of the local interface for the connection.
localPort
The port number of the local interface for the connection.
cellular
A Boolean value that indicates whether the connection operates over a cellular interface.
expensive
A Boolean value that indicates whether the connection operates over an expensive interface.
constrained
A Boolean value that indicates whether the connection operates over an interface marked as constrained.
proxyConnection
A Boolean value that indicastes whether the task used a proxy connection to fetch the resource.
reusedConnection
A Boolean value that indicates whether the task used a persistent connection to fetch the resource.
multipath
A Boolean value that indicates whether the connection uses a successfully negotiated multipath protocol.
resourceFetchType
A value that indicates whether the resource was loaded, pushed, or retrieved from the local cache.