ModeratorElection/frontend/generated/jar-resources/vaadin-dev-tools/websocket-connection.d.ts
2024-06-06 17:45:46 +02:00

12 lines
417 B
TypeScript

import { Connection } from './connection';
export declare class WebSocketConnection extends Connection {
static HEARTBEAT_INTERVAL: number;
socket?: any;
constructor(url: string);
onReload(): void;
onUpdate(_path: string, _content: string): void;
onMessage(_message: any): void;
handleMessage(msg: any): void;
handleError(msg: any): void;
send(command: string, data: any): void;
}