Liking cljdoc? Tell your friends :D

dvlopt.mqtt.v3

Functions for opening and handling a connection using the MQTT 3.x protocol. All functions are specified using clojure.spec.

Specs related to options and callbacks.

Functions for opening and handling a connection using the MQTT 3.x protocol.
All functions are specified using clojure.spec.

Specs related to options and callbacks.
raw docstring

ackclj

(ack client message)

Manually acknowledges a received message.

Should not be used unless the client has been connected with the ::dvlopt.mqtt/manual-acks? option set to true.

Manually acknowledges a received message.

Should not be used unless the client has been connected with the ::dvlopt.mqtt/manual-acks? option
set to true.
sourceraw docstring

buffer-countclj

(buffer-count client)

Counts how many messages are currently buffered for reliability.

Counts how many messages are currently buffered for reliability.
sourceraw docstring

buffer-getclj

(buffer-get client index)

Gets a buffered message.

Gets a buffered message.
sourceraw docstring

client-idclj

(client-id client)

What is the client-id of the given client ?

What is the client-id of the given client ?
sourceraw docstring

closeclj

(close client)
(close client opts)

Closes a client and releases all associated resources.

Closes a client and releases all associated resources.
sourceraw docstring

connected?clj

(connected? client)

Is the given client currently connected ?

Is the given client currently connected ?
sourceraw docstring

current-uriclj

(current-uri client)

To which uri is the given client currently connected ?

To which uri is the given client currently connected ?
sourceraw docstring

openclj

(open)
(open opts)

Builds a client and opens a connection.

Returns a map containing the ::client as well as values for options that have default values.

Builds a client and opens a connection.

Returns a map containing the ::client as well as values for options that have default values.
sourceraw docstring

publishclj

(publish client topic opts)

Publishes to a topic.

Publishes to a topic.
sourceraw docstring

subscribeclj

(subscribe client subscriptions)
(subscribe client subscriptions opts)

Subscribes the given client to topics.

Subscribes the given client to topics.
sourceraw docstring

unsubscribeclj

(unsubscribe client topics)
(unsubscribe client topics opts)

Unsubscribes the given client from topics.

Unsubscribes the given client from topics.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close