MqttPublish
Este conteúdo não está disponível em sua língua ainda.
MqttPublish =
object
Defined in: src/io/broker/MqttMessages.ts:122
Outbound publish envelope.
Properties
Section titled “Properties”payload
Section titled “payload”
readonlypayload:Uint8Array|string
Defined in: src/io/broker/MqttMessages.ts:124
readonlyoptionalqos?:MqttQos
Defined in: src/io/broker/MqttMessages.ts:125
retain?
Section titled “retain?”
readonlyoptionalretain?:boolean
Defined in: src/io/broker/MqttMessages.ts:126
readonlytopic:string
Defined in: src/io/broker/MqttMessages.ts:123
userProperties?
Section titled “userProperties?”
readonlyoptionaluserProperties?: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.
