UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

5 lines (4 loc) 248 B
import { GlobalContext } from "../../types/context"; import { WebSocket } from "@rjweb/uws"; import { WebSocketContext } from "../../types/webSocket"; export default function handleWSOpen(ws: WebSocket<WebSocketContext>, ctg: GlobalContext): void;