willPayload property

Uint8Buffer willPayload
getter/setter pair

Will payload.

Note that unless the will flag, MqttConnectFlags.willFlag, in the variable header is set this payload will not be encoded in the payload even if it is set.

Implementation

typed.Uint8Buffer willPayload = typed.Uint8Buffer();