mirror of
https://github.com/wisplite/tether-ts.git
synced 2026-05-01 06:22:41 -05:00
16 lines
404 B
TypeScript
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;
|
|
}
|