UNPKG

mira-app-server

Version:

Mira Server - standalone server application using mira-app-core

9 lines 475 B
import { LibraryServerDataSQLite } from 'mira-storage-sqlite'; import { WebSocket } from 'ws'; import { MessageHandler } from './handlers/MessageHandler'; import type { WebSocketMessage } from './types'; export declare class WebSocketRouter { static route(server: any, // 修改为any类型避免类型冲突 dbService: LibraryServerDataSQLite, ws: WebSocket, message: WebSocketMessage): Promise<MessageHandler | null>; } //# sourceMappingURL=WebSocketRouter.d.ts.map