websocket
Interact with websockets.
Functions:
Connect
websocket.connect(string: url, function: on_open, function: on_message, function: on_close);Makes a connection to a WebSocket and returns the instance of the connection.
Methods:
Send
connection:send(string: message)Send a message.
Close
connection:close()Close an existing connection.
Last updated