<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/OneToOneProtocol",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network05OneToB8ProtocolP"
  },
  "title" : "OneToOneProtocol"
}
-->

# OneToOneProtocol

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

```
protocol OneToOneProtocol : NetworkProtocolOptions
```

## Relationships

### Conforming Types

[`WebSocket`](/documentation/Network/WebSocket)

[`TLV`](/documentation/Network/TLV)

[`TLS`](/documentation/Network/TLS)

[`Framer`](/documentation/Network/Framer)

[`UDP`](/documentation/Network/UDP)

[`TCP`](/documentation/Network/TCP)

[`QUICStream`](/documentation/Network/QUICStream)

[`QUICDatagram`](/documentation/Network/QUICDatagram)

[`DTLS`](/documentation/Network/DTLS)

[`Coder`](/documentation/Network/Coder)

### Inherited By

[`MessageProtocol`](/documentation/Network/MessageProtocol)

[`DatagramProtocol`](/documentation/Network/DatagramProtocol)

[`StreamProtocol`](/documentation/Network/StreamProtocol)

### Inherits From

[`NetworkProtocolOptions`](/documentation/Network/NetworkProtocolOptions)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)