UNPKG

webpack-dev-server

Version:

Serves a webpack app. Updates the browser on changes.

14 lines (13 loc) 601 B
/** @typedef {import("../Server.js").WebSocketServerConfiguration} WebSocketServerConfiguration */ /** @typedef {import("../Server.js").ClientConnection} ClientConnection */ export default class WebsocketServer extends BaseServer { static heartbeatInterval: number; implementation: import("ws").Server< typeof import("ws").default, typeof import("http").IncomingMessage >; } export type WebSocketServerConfiguration = import("../Server.js").WebSocketServerConfiguration; export type ClientConnection = import("../Server.js").ClientConnection; import BaseServer from "./BaseServer.js";