Skip to main content

Arguments

WebSocket
required
WebSocket table returned by WebSocket.connect. The function expects this table to contain the connection state.

Example

Close a WebSocket object returned by WebSocket.connect.