Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebSocketAdapter

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:

  • Single player environments
  • Server-based multiuser topologies

Hierarchy

Index

Constructors

Events

Accessors

Methods

Constructors

constructor

Events

onConnection

Accessors

port

  • get port(): string | number

server

  • get server(): Server
  • set server(value: Server): void

Methods

listen

  • listen(): Promise<Server>