Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method Server.prototype.handleMessageAsJsonString
import { Server } from "https://deno.land/x/sockets@v0.5.0/src/server.ts";

Handle a message in the format of a JSON string.

Parameters

client: Client
  • The client instance.
message: string
  • The message the client sent.

Returns

Promise<void>