Add bytes

This commit is contained in:
niten 2024-03-11 14:24:43 -07:00
parent 2c5b228f42
commit a85cee5f8d
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@
:qos (.getQos mqtt-msg) :qos (.getQos mqtt-msg)
:retained (.isRetained mqtt-msg) :retained (.isRetained mqtt-msg)
:duplicate (.isDuplicate mqtt-msg) :duplicate (.isDuplicate mqtt-msg)
:payload (.toString mqtt-msg)}) :payload (.toString mqtt-msg)
:payload-bytes (.getPayload mqtt-msg)})
(defprotocol IMilquetoastClient (defprotocol IMilquetoastClient
(send-message! [_ topic msg opts]) (send-message! [_ topic msg opts])