ModeratorElection/frontend/generated/jar-resources/vaadin-dev-tools/websocket-connection.d.ts

13 lines
417 B
TypeScript
Raw Normal View History

2024-06-06 15:45:46 +00:00
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;
}