---
title: dataTransferReport()
framework: network
role: symbol
role_heading: Instance Method
path: network/networkchannel/datatransferreport()
---

# dataTransferReport()

Start a data transfer report on a connection. The report begins capturing data when the connection moves to the .ready state, or when the report is created (whichever occurs last). This method will start the connection if it isn’t already started.

## Declaration

```swift
func dataTransferReport() async throws -> NWConnection.DataTransferReport
```
