WsServerSimple
The WsServerSimple
interface represents an object that facilitates synchronization between clients that are using WsSynchronizer
instances.
The core functionality is equivalent to the WsServer
interface, but without the complications of listeners, persistence, or statistics.
You should use the createWsServerSimple
function to create a WsServerSimple
object.
Since
v5.4.0
destroy
The destroy
method provides a way to clean up the server at the end of its use.
getWebSocketServer
The getWebSocketServer
method returns a reference to the WebSocketServer being used for this WsServerSimple
.