shouldBeRetained method

MqttHeader shouldBeRetained()

Defines that the message should be retained.

Implementation

MqttHeader shouldBeRetained() {
  retain = true;
  return this;
}