:sig
function ws_send(message : string, binary : bool, request : capture dval) bool
function ws_send(message : string, binary : bool, scope : string, request : capture dval) bool

:params
request : the caller's request, captured when omitted
message : message bytes to send
binary : `true` for a binary frame
scope : scope identifier

:returns
`true` when the server queues the message for a client.

:content
`ws_send()` sends a message to every client in the current scope. Pass `scope` to select a scope.

:example capy ws
ws_send("hello", false)

:see-group
websocket
