import { WebSocketServer } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/ws.ts";
Constructors
new
WebSocketServer(handler?: WebSocketHandler | undefined)new
WebSocketServer(options: ServerOptions, handler: WebSocketHandler)Properties
protected
[_clients]: Map<Request, WebSocketConnection>protected
[_handler]: WebSocketHandler | undefinedMethods
upgrade(request: Request): { socket: WebSocketConnection; response: Response; }
upgrade(request: IncomingMessage): { socket: WebSocketConnection; }