# http/ws-send
Send a text frame on a WebSocket connection.
## Syntax
[http/ws-send $conn $msg]
## Parameters
- `$conn` — `ws_conn` resource from `http/ws-server`'s `:on-connect` or `http/ws-connect`
- `$msg` — text payload (string)
## Examples
[http/ws-send $conn "hello"] [http/ws-send $conn [upper $text]]
## Returns
`nil`.
## See Also
`http/ws-send-binary`, `http/ws-ping`, `http/ws-close`