/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { RemoteServer } from "../remote/RemoteServer.js";
import { WebSocketInterface } from "./WebSocketInterface.js";
class WebSocketServer extends RemoteServer {
  static id = "websocket";
  static interfaceType = WebSocketInterface;
}
((WebSocketServer2) => {
  class State extends RemoteServer.State {
    /**
     * The WebSocket address.
     *
     * Supported protocols:
     *
     *   - ws (unencrypted WebSocket)
     *   - wss (encrypted WebSocket)
     *   - ws+unix (WebSockets over a UNIX socket)
     *   - wss+unix (WebSockets over a secure UNIX socket)
     */
    address = "ws+unix:matter.sock";
  }
  WebSocketServer2.State = State;
})(WebSocketServer || (WebSocketServer = {}));
export {
  WebSocketServer
};
//# sourceMappingURL=WebSocketServer.js.map
