Creates a new instance of the WebSocket Adapter.
The onConnection event is raised when a new Context is created for an application session. This happens when the first client connects to your application.
Start the adapter listening for new connections.
The
WebSocketAdapter
is appropriate to use when the host environment has an authoritative simluation, and that authoritative simulation is the only connection made to the Mixed Reality Extension (MRE) app.Example hosts: