UNPKG

500 BTypeScriptView Raw
1export = WebsocketServer;
2declare class WebsocketServer extends BaseServer {
3 static heartbeatInterval: number;
4 implementation: WebSocket.Server<WebSocket.WebSocket>;
5}
6declare namespace WebsocketServer {
7 export { WebSocketServerConfiguration, ClientConnection };
8}
9import BaseServer = require("./BaseServer");
10import WebSocket = require("ws");
11type WebSocketServerConfiguration =
12 import("../Server").WebSocketServerConfiguration;
13type ClientConnection = import("../Server").ClientConnection;