MqttPublish
Defined in: src/io/broker/MqttActor.ts:50
Outbound publish envelope.
Properties
Section titled “Properties”payload
Section titled “payload”
readonlypayload:string|Uint8Array<ArrayBufferLike>
Defined in: src/io/broker/MqttActor.ts:52
readonlyoptionalqos?:MqttQos
Defined in: src/io/broker/MqttActor.ts:53
retain?
Section titled “retain?”
readonlyoptionalretain?:boolean
Defined in: src/io/broker/MqttActor.ts:54
readonlytopic:string
Defined in: src/io/broker/MqttActor.ts:51
userProperties?
Section titled “userProperties?”
readonlyoptionaluserProperties?:MqttUserProperties
Defined in: src/io/broker/MqttActor.ts:60
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.