<!--
{
  "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/QUIC/Stream",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network4QUICV6StreamC"
  },
  "title" : "QUIC.Stream"
}
-->

# QUIC.Stream

```
final class Stream<ApplicationProtocol> where ApplicationProtocol : NetworkProtocolOptions
```

## Topics

### Instance Properties

[`var directionality: QUICStream.Directionality`](/documentation/Network/QUIC/Stream/directionality)

The directionality of this stream, either bidirectional or unidirectional.

[`var initiator: QUICStream.Initiator`](/documentation/Network/QUIC/Stream/initiator)

The initiator of this QUIC stream, either client or server.

[`let parent: NetworkConnection<QUIC>`](/documentation/Network/QUIC/Stream/parent)

[`var streamApplicationErrorCode: UInt64`](/documentation/Network/QUIC/Stream/streamApplicationErrorCode)

The QUIC application error code to send for the stream, or received from the peer.

[`var streamID: UInt64`](/documentation/Network/QUIC/Stream/streamID)

The QUIC stream identifier.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Identifiable`](/documentation/Swift/Identifiable)

[`Sendable`](/documentation/Swift/Sendable)

### Inherits From

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

---

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)