Aliases
WebSocketObject.send
Arguments
string
required
The input bytes as a binary-safe Luau string.
boolean
default:"false"
Whether to send a binary frame. Invalid UTF-8 text is automatically sent as binary.
Returns
boolean
True when the native send succeeds.
string?
A diagnostic when the native send returns false.
