The Websocket Library already has enough, however there is a fundamental I would really like to see added.
Websocket.IsConnected: boolean - Returns a boolean depending if the WebSocket is connected.
A use case: Creating Websocket Communication with executors, if I for example connect to the Websocket server and it suddenly disconnects, fails to load or something I can just simply while not Websocket.IsConnected do and reattempt, as far I'm aware it's possible to create this in pure lua, but having that extra variable already ready can speed up things.
The Websocket Library already has enough, however there is a fundamental I would really like to see added.
Websocket.IsConnected: boolean- Returns a boolean depending if the WebSocket is connected.A use case: Creating Websocket Communication with executors, if I for example connect to the Websocket server and it suddenly disconnects, fails to load or something I can just simply
while not Websocket.IsConnected doand reattempt, as far I'm aware it's possible to create this in pure lua, but having that extra variable already ready can speed up things.