Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/socket_client/mod.ts>WSClient#sendMessage

A simple WebSocket client for Deno
Latest
method WSClient.prototype.sendMessage
import { WSClient } from "https://deno.land/x/socket_client@0.1.0-alpha.1/mod.ts";

Send/Write a message frame to the websocket.

Parameters

mes: string | Uint8Array