shamblett / mqtt5_client

A server and browser based MQTT 5 client for dart
Other
49 stars 25 forks source link

Request/Response full support / Update README #92

Closed Louis-PhilippeGentile closed 1 month ago

Louis-PhilippeGentile commented 5 months ago

Hello,

The README at the root of the project mentions that

Flow control and Request/Response functionality is not fully supported.

However, when sifting through the documentation, I failed to find anything relating to the Request/Response feature of MQTT 5 that is not supported by this package.

Am I missing something, or is the README out of date?

shamblett commented 5 months ago

I think you are right, the client does support request/response in the connect and connect ack messages, the received connect ack message is stored in the connection state so the response information is available to the user . I'll update the README.

MichalNemec commented 3 months ago

I would like to ask as well about request response. Does not seem that publish implements response topic.

could that be implemented since its supported in mqtt5? https://www.emqx.com/en/blog/mqtt5-request-response

Louis-PhilippeGentile commented 3 months ago

I would like to ask as well about request response. Does not seem that publish implements response topic.

could that be implemented since its supported in mqtt5? https://www.emqx.com/en/blog/mqtt5-request-response

I believe it is implemented, or at least it is present in the documentation as part of the MqttPublishVariableHeader class as the responseTopic property.

The MqttPublishMessage also contains a method to directly set the responseTopic.

MichalNemec commented 3 months ago

Oh, i completely missed this, thank you for correcting me!

alimcomp commented 3 months ago

Hi and thanks When you are going to fix readme file?

shamblett commented 3 months ago

Done, package re published at version 4.2.4