Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/snel/imports/wocket.ts>Server#handleMessageAsJsonString

A Cybernetical framework for svelte applications in deno
Latest
method Server.prototype.handleMessageAsJsonString
import { Server } from "https://deno.land/x/snel@v0.7.1/imports/wocket.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>