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

x/sockets/mod.ts>Transmitter#handlePacket

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

Decodes and validates incoming messages.

Parameters

packet: Packet
  • See Packet.

Returns

Promise<void>