Sign In

$wsSend[]

Sends a websocket message

v1.5.0+ Requires Brackets

Usage

$wsSend[;;;]
Also callable as
$websocketSend

Arguments

NameTypeRequiredDescription
websocket ID
NumberYesThe id of the websocket to attach this listener to
value
JsonYesThe json value to send over
callback
StringNoCode to execute on completion of request
variable name
StringNoVariable to store error on if callback was called for an error

Was this page helpful?