.wsSend(msg)

Description

wsSend allows you to send a message to a websocket.

Parameters

  • msg: The message to send to the websocket.

Usage

ws_id = "url".newWebsocket()

ws_id.wsSend("Hello, World!")
// this sends a message to the websocket connection

Last updated