startClean method

MqttConnectMessage startClean()

Sets the startClean flag so that the broker drops any messages that were previously destined for us.

Implementation

MqttConnectMessage startClean() {
  variableHeader!.connectFlags.cleanStart = true;
  return this;
}