(connect {:keys [username password client-id keep-alive]})
(decode array-buffer)
Turns array-buffer into data.
Sample data: {:first-byte {:type :pingresp} :remaining-length 2 :remaining-bytes {:packet-identifier 1}}
Turns array-buffer into data. Sample data: {:first-byte {:type :pingresp} :remaining-length 2 :remaining-bytes {:packet-identifier 1}}
(disconnect)
(encode pkt)
(find-by-name name)
(find-by-value value)
(pingreq)
(publish {:keys [dup? qos retain? topic packet-identifier payload]
:or {dup? false qos 0 retain? false}})
(subscribe {:keys [packet-identifier topic-filter qos] :or {qos 0}})
(unsubscribe {:keys [packet-identifier topic-filter]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close