Files
tether-ts/dist/utils/websocket.d.ts
T
2026-04-21 22:26:47 -05:00

16 lines
404 B
TypeScript

export declare class WebSocketHandler {
private ws;
private url;
private subscribedQueries;
private onOpen;
private onClose;
private reconnectAttempts;
private maxReconnectAttempts;
private reconnectInterval;
private sendQueue;
startConnection: (url: string) => void;
attemptReconnect: () => void;
close: () => void;
send: (message: string) => void;
}