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

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.MulticastV6Membership

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.MulticastV6Membership
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.unstable.d.ts";
const { MulticastV6Membership } = Deno;

UNSTABLE: New API, yet to be vetted.

Represents membership of a IPv6 multicast group.

Properties

leave: () => Promise<void>

Leaves the multicast group.

setLoopback: (loopback: boolean) => Promise<void>

Sets the multicast loopback option. If enabled, multicast packets will be looped back to the local socket.