withQos method

MqttPublishMessage withQos (
  1. MqttQos qos
)

Sets the Qos of the published message.

Implementation

MqttPublishMessage withQos(MqttQos qos) {
  header.withQos(qos);
  return this;
}