---
title: "send(_:)"
framework: avsystemrouting
role: symbol
role_heading: Instance Method
path: "avsystemrouting/avsystemroute-5s2um/datachannel/send(_:)"
---

# send(_:)

Sends data to a remote application.

## Declaration

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

## Parameters

- `data`: The data to send to the remote application.

## Mentioned in

Routing and streaming media to remote devices Routing media to third-party devices

## Discussion

Discussion Calling this function again before a previous send completes is safe; multiple send operations can be in-flight concurrently. note: An error if the send operation fails.
