---
title: NWEndpoint
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/nwendpoint
---

# NWEndpoint

An abstract base class, shared by NWHostEndpoint or NWBonjourServiceEndpoint, that represents the source or destination of a network connection.

## Declaration

```swift
class NWEndpoint
```

## Overview

Overview All endpoint objects are static collections of parameters that describe a network resource. They do not directly provide any resolution services, but instead must be used with other classes to be resolved and create connections.

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [NWBonjourServiceEndpoint](networkextension/nwbonjourserviceendpoint.md)
- [NWHostEndpoint](networkextension/nwhostendpoint.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Endpoints

- [NWHostEndpoint](networkextension/nwhostendpoint.md)
- [NWBonjourServiceEndpoint](networkextension/nwbonjourserviceendpoint.md)
