---
title: receive()
framework: network
role: symbol
role_heading: Instance Method
path: network/networkchannel/receive()-8jbul
---

# receive()

Receive data on a connection.

## Declaration

```swift
func receive<T>() async throws -> ApplicationProtocol.Message<Data> where ApplicationProtocol == Framer<T>, T : FramerProtocol
```
