---
title: NWProtocolTLS
framework: network
role: symbol
role_heading: Class
path: network/nwprotocoltls
---

# NWProtocolTLS

A network protocol for connections that use Transport Layer Security.

## Declaration

```swift
class NWProtocolTLS
```

## Topics

### Creating TLS Connections

- [NWProtocolTLS.Options](network/nwprotocoltls/options.md)
- [definition](network/nwprotocoltls/definition.md)

### Inspecting TLS State

- [NWProtocolTLS.Metadata](network/nwprotocoltls/metadata.md)

## Relationships

### Inherits From

- [NWProtocol](network/nwprotocol.md)

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Network Protocols

- [Building a custom peer-to-peer protocol](network/building-a-custom-peer-to-peer-protocol.md)
- [Connecting iPadOS and visionOS apps over the local network](visionos/connecting-ipados-and-visionos-apps-over-the-local-network.md)
- [NWProtocolTCP](network/nwprotocoltcp.md)
- [NWProtocolQUIC](network/nwprotocolquic.md)
- [NWProtocolUDP](network/nwprotocoludp.md)
- [NWProtocolIP](network/nwprotocolip.md)
- [NWProtocolWebSocket](network/nwprotocolwebsocket.md)
- [NWProtocolFramer](network/nwprotocolframer.md)
