Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sockets/mod.ts>Server#handleMessageAsBinary

A WebSocket library for Deno.
Latest
method Server.prototype.handleMessageAsBinary
import { Server } from "https://deno.land/x/sockets@v0.5.0/mod.ts";

Handle a binary message sent by the socket client.

Parameters

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