---
title: NWBonjourServiceEndpoint
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/nwbonjourserviceendpoint
---

# NWBonjourServiceEndpoint

A network endpoint specified as a Bonjour service name, type, and domain.

## Declaration

```swift
class NWBonjourServiceEndpoint
```

## Overview

Overview For example, the Bonjour service MyMusicStudio._music._tcp.local. has the name "MyMusicStudio", the type "_music._tcp", and the domain "local".

## Topics

### Initializing Bonjour service endpoints

- [init(name:type:domain:)](networkextension/nwbonjourserviceendpoint/init(name:type:domain:).md)

### Getting endpoint properties

- [name](networkextension/nwbonjourserviceendpoint/name.md)
- [type](networkextension/nwbonjourserviceendpoint/type.md)
- [domain](networkextension/nwbonjourserviceendpoint/domain.md)

## Relationships

### Inherits From

- [NWEndpoint](networkextension/nwendpoint.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)
- [NWEndpoint](networkextension/nwendpoint.md)
