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

x/live/deps.ts>asVerifiedChannel

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable asVerifiedChannel
import { asVerifiedChannel } from "https://deno.land/x/live@1.53.6/deps.ts";

Adds a layer of verification for received messages

type

<Send, Recv>(socket: WebSocket, key: PromiseOrValue<JsonWebKey>) => Promise<Channel<Send, Recv>>