Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.1/cli/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; }