interface MessageEvent
extends Event

Type Parameters

T = any

Properties

readonly
data: T

Returns the data of the message.

readonly
origin: string

Returns the origin of the message, for server-sent events.

readonly
lastEventId: string

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

readonly
source: null

Returns transferred ports.