📎WebSocket
Close
<void> Socket:Close(<void>)Closes the WebSocket connection.
Event
Description
.OnMessage
Activated when a message is receieved over the websocket connection.
.OnClose
Activated when the websocket connection is closed.
Connect
<bool> WebSocket.connect(<string> url)Connects with
urland will return the instance representing the connection.
Send
<void> Socket:Send(<string> text)Sends
textto the WebSocket connection.
Last updated