Skip to main content
method EventHandler.prototype.handleMessage
import { EventHandler } from "https://deno.land/x/sono@v1.1/src/eventhandler.ts";

Sends a message to each Client object in the same channel as client

Parameters

packet: Packet
  • Message received from client
client: Client
  • Client sending message packet
channelsList: { [key: string]: Record<string, Client>; }
  • Object containing all channels in Sono server