<!--
{
  "availability" : [
    "iOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryTransportExtension",
  "identifier" : "/documentation/AccessoryTransportExtension/AccessoryWorker/Session/send(data:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Accessory Transport Extension"
    ],
    "preciseIdentifier" : "s:27AccessoryTransportExtension0A6WorkerV7SessionC4send4datay10Foundation4DataV_tYaKF"
  },
  "title" : "send(data:)"
}
-->

# send(data:)

Sends data to the transport extension within a session.

```
final func send(data: Data) async throws
```

## Parameters

`data`

The data to send.

## Discussion

The Accessory Transport Extension framework doesn’t add additional encryption to the data, so take steps to protect sensitive data before you send it.

---

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)