MessageEvent$Typings<T> extension

on

Properties

data → T

Available on MessageEvent<T>, provided by the MessageEvent$Typings extension

Returns the data of the message.
no setter
lastEventId String

Available on MessageEvent<T>, provided by the MessageEvent$Typings extension

Returns the last event ID string, for server-sent events.
no setter
origin String

Available on MessageEvent<T>, provided by the MessageEvent$Typings extension

Returns the origin of the message, for server-sent events.
no setter
ports ReadonlyArray<MessagePort>

Available on MessageEvent<T>, provided by the MessageEvent$Typings extension

Returns transferred ports.
no setter
source → dynamic

Available on MessageEvent<T>, provided by the MessageEvent$Typings extension

no setter