State - stingray.WebSocket.State enumeration reference - Stingray Lua API Reference

stingray.WebSocket.State enumeration reference

Description

Websocket states

Enumeration values

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.