s="memtitle"><span class="permalink"><a href="#a8ba074ad218224ee4a8ca802c5e36944">&#9670;&#160;</a></span>retainAsPublished</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char retainAsPublished</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>To keep the retain flag as on the original publish message, set to 1. If 0, defaults to the original MQTT behaviour where the retain flag is only set on publications se