Skip to main content
Module

x/netzo/deno.d.ts>MessageEvent

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
class MessageEvent
extends Event
import { MessageEvent } from "https://deno.land/x/netzo@v0.1.25/deno.d.ts";

Constructors

new
MessageEvent(type: string, eventInitDict?: MessageEventInit)

Type Parameters

optional
T = any

Properties

readonly
data: T

Returns the data of the message.

readonly
lastEventId: string

Returns the last event ID string, for server-sent events.

readonly
ports: ReadonlyArray<MessagePort>

Returns transferred ports.