interface WsModuleLike
Since 0.2.0

The shape of the ws module this adapter uses.

Properties

readonly
WebSocketServer: new (options: { noServer: boolean; handleProtocols?: (protocols: Set<string>) => string | false; }) => WsServerLike

The WebSocketServer constructor.

Usage

import { type WsModuleLike } from "runtime/src/index.ts";