Skip to main content
Module

x/live/deps.ts>asVerifiedChannel

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

Adds a layer of verification for received messages

type

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