perplexica/src/websocket/index.ts

9 lines
224 B
TypeScript
Raw Normal View History

2024-04-09 10:51:05 +00:00
import { initServer } from './websocketServer';
import http from 'http';
export const startWebSocketServer = (
server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>,
) => {
initServer(server);
};