---
title: "send(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/urlsessionwebsockettask/send(_:)"
---

# send(_:)

## Declaration

```swift
func send(_ message: URLSessionWebSocketTask.Message) async throws
```
