Skip to content

Commit

Permalink
nodejs fix BrokerOption fields (iotaledger#570)
Browse files Browse the repository at this point in the history
* fix BrokerOption fields
  • Loading branch information
Thoralf-M authored May 18, 2021
1 parent 57c5a33 commit 0936227
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bindings/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -861,13 +861,13 @@ Gets the metadata of the given message.

All fields are optional.

| Field | Type | Description |
| ----------------------- | ------------------- | ----------------------------------------------------------------------------------------------------- |
| automaticDisconnect | <code>number</code> | Whether the MQTT broker should be automatically disconnected when all topics are unsubscribed or not. |
| timeout | <code>number</code> | MQTT connection timeout in secods |
| useWs | <code>bool</code> | Defines if websockets should be used (true) or TCP (false) |
| maxReconnectionAttempts | <code>number</code> | Defines the maximum reconnection attempts before it returns an error |
| port | <code>number</code> | Defines the port to be used for the MQTT connection |
| Field | Type | Description |
| ----------------------- | -------------------- | ----------------------------------------------------------------------------------------------------- |
| automaticDisconnect | <code>boolean</code> | Whether the MQTT broker should be automatically disconnected when all topics are unsubscribed or not. |
| timeout | <code>number</code> | MQTT connection timeout in secods |
| useWs | <code>boolean</code> | Defines if websockets should be used (true) or TCP (false) |
| maxReconnectionAttempts | <code>number</code> | Defines the maximum reconnection attempts before it returns an error |
| port | <code>number</code> | Defines the port to be used for the MQTT connection |

### NodeAuthOptions

Expand Down

0 comments on commit 0936227

Please sign in to comment.