edusperoni / nativescript-mqtt

MQTT 3.1.1 for Nativescript
Apache License 2.0
12 stars 3 forks source link

Feat: Added SubscribeOptions and cleanSession. #8

Closed jmparraguez-haulmer closed 5 years ago

jmparraguez-haulmer commented 5 years ago

What is the current behavior?

There is no way to change the QoS level of the subscription. Also is impossible to change the default value of the clean session during the connection.

What is the new behavior?

default values based on: https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.html

Migration steps:

All new parameter keep the default values, so shouldn't be any problems during the migrations.