interface dom.CloseEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { CloseEvent } = dom;
A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.