<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NWConnection/DataTransferReport",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network12NWConnectionC18DataTransferReportV"
  },
  "title" : "NWConnection.DataTransferReport"
}
-->

# NWConnection.DataTransferReport

A report that provides metrics about data being sent and received on a connection.

```
struct DataTransferReport
```

## Topics

### Examining Data Transfer

[`aggregatePathReport`](/documentation/Network/NWConnection/DataTransferReport/aggregatePathReport)

A report that sums counts across all network paths.

[`pathReports`](/documentation/Network/NWConnection/DataTransferReport/pathReports)

An array of reports for each network path the connection used.

[`PathReport`](/documentation/Network/NWConnection/DataTransferReport/PathReport)

A report that contains details about data transfer over a single network path.

### Summarizing Reports

[`duration`](/documentation/Network/NWConnection/DataTransferReport/duration)

The duration of the data transfer report, from when it was started to when it was collected.

## Relationships

### Conforms To

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

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

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

---

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)