Parameters
string
required
The message to send.
Example
Errors
Related
onmessage: handle replies.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send a message.
WebSocket:Send(message: string) -> ()
ws:Send("ping")
| Message | Condition |
|---|---|
the websocket message must be a string | Argument 1 was not a string. |
the websocket frame could not be sent | The frame could not be sent. |
the websocket frame is too large | The message exceeded the frame size limit. |
onmessage: handle replies.