withWillQos method

MqttConnectMessage withWillQos(
  1. MqttQos qos
)

Sets the WillQos of the connect flag.

Implementation

MqttConnectMessage withWillQos(MqttQos qos) {
  variableHeader!.connectFlags.willQos = qos;
  return this;
}