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

x/deno/ext/websocket/lib.deno_websocket.d.ts>CloseEventInit

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface CloseEventInit
implements EventInit
import { type CloseEventInit } from "https://deno.land/x/deno@v1.39.0/ext/websocket/lib.deno_websocket.d.ts";

Properties

optional
code: number
optional
reason: string
optional
wasClean: boolean