State - stingray.WebSocket.State enumeration reference - Stingray Lua API Reference
         
	
    
    
Websocket states
				|   | 
WebSocket has been closed.
 | 
 
				|   | 
WebSocket is waiting for server to acknowledge close request.
 | 
 
				|   | 
WebSocket is connecting to the server.
 | 
 
				|   | 
An error has occurred.
 | 
 
				|   | 
WebSocket connection is open.
 |