---
title: OneToOneProtocol
framework: network
role: symbol
role_heading: Protocol
path: network/onetooneprotocol
---

# OneToOneProtocol

Types that conform to OneToOneProtocol are allowed to be the top protocol in a network protocol stack for non-multiplexed connections.

## Declaration

```swift
protocol OneToOneProtocol : NetworkProtocolOptions
```

## Relationships

### Inherits From

- [NetworkProtocolOptions](network/networkprotocoloptions.md)

### Inherited By

- [DatagramProtocol](network/datagramprotocol.md)
- [MessageProtocol](network/messageprotocol.md)
- [StreamProtocol](network/streamprotocol.md)

### Conforming Types

- [Coder](network/coder.md)
- [Framer](network/framer.md)
- [QUICDatagram](network/quicdatagram.md)
- [QUICStream](network/quicstream.md)
- [TCP](network/tcp.md)
- [TLS](network/tls.md)
- [TLV](network/tlv.md)
- [UDP](network/udp.md)
- [WebSocket](network/websocket.md)
