import { Sono } from "https://deno.land/x/sono@v1.1/src/server.ts";
Class that handles WebSocket messages. Uses Client objects and an EventHandler object to send messages to Clients.
Properties
channelsList: { [key: string]: Record<string, Client>; }
clients: { [key: string]: Client; }
eventHandler: EventHandler
server: DenoServer | null
Methods
connect(req: ServerRequest, callback: () => void)
emit(message: string)