UNPKG

rocketrpc

Version:

![Frame 8175 (1)](https://user-images.githubusercontent.com/22196279/219864833-74471e79-8afe-446a-95f6-7d37ef007e97.png)

7 lines (6 loc) 260 B
import { ServerOptions, Server as SocketServer } from "socket.io"; export default function Server(endpoint: ConstructorParameters<typeof SocketServer>[0], api: any, meta?: { serverOptions?: Partial<ServerOptions>; }): { closeConnection: () => void; };