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

x/netzo/deno.d.ts>WebSocket#addEventListener

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
method WebSocket.prototype.addEventListener
import { WebSocket } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";

Parameters

type: K
listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any
optional
options: boolean | AddEventListenerOptions

Parameters

type: string
optional
options: boolean | AddEventListenerOptions