SendEventMessage interface

Send custom event message

Extends

Properties

ackId

Optional ack id. If specified, an AckMessage with success or not will be returned with the same ackId

data

The data

dataType

The data type

event

The event name

kind

Message type

Property Details

ackId

Optional ack id. If specified, an AckMessage with success or not will be returned with the same ackId

ackId?: number

Property Value

number

data

The data

data: JSONTypes | ArrayBuffer

Property Value

JSONTypes | ArrayBuffer

dataType

The data type

dataType: WebPubSubDataType

Property Value

event

The event name

event: string

Property Value

string

kind

Message type

kind: "sendEvent"

Property Value

"sendEvent"