Zum Inhalt springen
Deutsch

MqttPublish

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

MqttPublish = object

Defined in: src/io/broker/MqttMessages.ts:122

Outbound publish envelope.

readonly payload: Uint8Array | string

Defined in: src/io/broker/MqttMessages.ts:124


readonly optional qos?: MqttQos

Defined in: src/io/broker/MqttMessages.ts:125


readonly optional retain?: boolean

Defined in: src/io/broker/MqttMessages.ts:126


readonly topic: string

Defined in: src/io/broker/MqttMessages.ts:123


readonly optional userProperties?: MqttUserProperties

Defined in: src/io/broker/MqttMessages.ts:132

MQTT 5.0 user properties to attach to the PUBLISH packet. Silently dropped when the actor’s protocolVersion is 4 — the 3.1.1 wire format has no way to carry them.