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) 273 B
import { GlobalContext } from "../../types/context"; import { WebSocket } from "@rjweb/uws"; import { WebSocketContext } from "../../types/webSocket"; export default function handleWSConnect(ws: WebSocket<WebSocketContext>, message: ArrayBuffer, ctg: GlobalContext): void;