---
title: connectedPath
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nwtcpconnection/connectedpath
---

# connectedPath

The network path over which the connection was established.

## Declaration

```swift
var connectedPath: NWPath? { get }
```

## Discussion

Discussion The caller can query additional properties from the NWPath object for more information. Note that this contains a snapshot of information at the time of connection establishment for this connection only. As a result, some underlying properties might change in time and might not reflect the path for other connections that might be established at different times.

## See Also

### Getting connection properties

- [endpoint](networkextension/nwtcpconnection/endpoint.md)
- [localAddress](networkextension/nwtcpconnection/localaddress.md)
- [remoteAddress](networkextension/nwtcpconnection/remoteaddress.md)
- [txtRecord](networkextension/nwtcpconnection/txtrecord.md)
