---
title: messages
framework: network
role: symbol
role_heading: Instance Property
path: network/networkchannel/messages
---

# messages

Receive data from a connection as an async stream.

## Declaration

```swift
var messages: AsyncThrowingStream<ApplicationProtocol.Message<ApplicationProtocol.ContentType>, any Error> { get }
```

## Discussion

Discussion This may be called before the connection is ready, in which case the receive requests will be enqueued until the connection is ready.
