Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/websocket_broadcastchannel/src/id-url.ts>IdUrl

Host-wide BroadcastChannel for Deno CLI, backed by WebSockets.
Latest
class IdUrl
extends URL
import { IdUrl } from "https://deno.land/x/websocket_broadcastchannel@0.8.0/src/id-url.ts";

Object that is triple-equal (===) to another IdUrl object if they have the same href.

Extends URL, so it can ultimately be used in place of a URL object.

Constructors

new
private
IdUrl(url: string)

Static Methods

of(url: string | URL | IdUrl): IdUrl

Creates or retrieves THE IdUrl object for a given URL.