---
title: defaultStream
framework: network
role: symbol
role_heading: Type Property
path: network/nwconnection/contentcontext/defaultstream
---

# defaultStream

A static context representing the total stream of bytes on a connection.

## Declaration

```swift
static let defaultStream: NWConnection.ContentContext
```

## Discussion

Discussion Once this context is used for sending, and the send is marked as complete, no more data can be sent on the connection.

## See Also

### Using Constant Send Contexts

- [defaultMessage](network/nwconnection/contentcontext/defaultmessage.md)
- [finalMessage](network/nwconnection/contentcontext/finalmessage.md)
