---
title: "nw_framer_copy_local_endpoint(_:)"
framework: network
role: symbol
role_heading: Function
path: "network/nw_framer_copy_local_endpoint(_:)"
---

# nw_framer_copy_local_endpoint(_:)

Accesses the local endpoint of the connection in which your protocol is running.

## Declaration

```swift
func nw_framer_copy_local_endpoint(_ framer: nw_framer_t) -> nw_endpoint_t
```

## See Also

### Inspecting Instance Properties

- [nw_framer_copy_remote_endpoint(_:)](network/nw_framer_copy_remote_endpoint(_:).md)
- [nw_framer_copy_parameters(_:)](network/nw_framer_copy_parameters(_:).md)
