@cgaspard/webappmcp
Version:
WebApp MCP - Model Context Protocol integration for web applications with server-side debugging tools
17 lines • 531 B
TypeScript
export interface WebSocketManagerConfig {
port: number;
authToken?: string;
onConnection: (clientId: string, ws: any) => void;
onDisconnection: (clientId: string) => void;
onMessage: (clientId: string, message: any) => void;
}
export declare class WebSocketManager {
private wss;
private server;
private config;
constructor(config: WebSocketManagerConfig);
private setupWebSocketServer;
start(): Promise<void>;
stop(): Promise<void>;
}
//# sourceMappingURL=websocket-manager.d.ts.map