Overview
Once connect(...) succeeds, it returns a connection object with send(...).
Setup
Call send(text, options) on the connection object.
Code example
chat.send("Hello from PulseGrid", {
meta: {
source: "js_ws_message",
},
});
Notes
Use this for live client-originated websocket messages.