iota-client 1.4.0

The official, general-purpose IOTA client library in Rust for interaction with the IOTA network (Tangle)
Documentation


### withTopic(topic): [MqttTopicManager](#mqtttopicmanager)

Add a new topic to the list.

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| topic | [Topic](#topic) |   |

### withTopics(topics): [MqttTopicManager](#mqtttopicmanager)

Add a collection of topics to the list.

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| topics | [Topic[]](#topic) |   |

### unsubscribe(): void

Unsubscribe from the given topics.
 If no topics were provided, the function will unsubscribe from every subscribed topic.