📎Websocket Library

Connect:

<bool> websocket.connect(<string> url)
  • Connects with url and will return the instance representing the connection.


Send:

<void> Socket:Send(<string> text)
  • Sends text to the websocket connection.


Close:

<void> Socket:Close(<void>)
  • Closes the websocket connection.


EventDescription

.OnMessage

Activated when a message is receieved over the websocket connection.

.OnClose

Activated when the websocket connection is closed.

Last updated