The shape of the ws module this adapter uses.
readonly
WebSocketServer: new (options: { noServer: boolean; handleProtocols?: (protocols: Set<string>) => string | false; }) => WsServerLike
The WebSocketServer constructor.
The shape of the ws module this adapter uses.
WebSocketServer: new (options: { noServer: boolean; handleProtocols?: (protocols: Set<string>) => string | false; }) => WsServerLike
The WebSocketServer constructor.
import { type WsModuleLike } from "runtime/src/index.ts";