clearPublishData method

MqttPublishMessage clearPublishData()

Removes the current published data.

Implementation

MqttPublishMessage clearPublishData() {
  payload.message.clear();
  return this;
}