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

x/deno/cli/tsc/dts/lib.webworker.d.ts>WebSocket

A modern runtime for JavaScript and TypeScript.
Go to Latest
variable WebSocket
import { WebSocket } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.webworker.d.ts";

type

{ prototype: WebSocket; readonly CLOSED: number; readonly CLOSING: number; readonly CONNECTING: number; readonly OPEN: number; new (url: string | URL, protocols?: string | string[]): WebSocket; }