eclipse / paho.mqtt.rust

paho.mqtt.rust
Other
527 stars 102 forks source link

Feature request: Public interface to retrieve client ID from initialised client #155

Closed cph-w closed 2 years ago

cph-w commented 2 years ago

Once a client is initialised the client ID is persisted and accessible only on the inner client. Users of the client may wish to retrieve the client ID without wrapping the object with another means of storing the data or using the context, and as such a public interface to retrieve the client ID is helpful.

cph-w commented 2 years ago

I've submitted PR https://github.com/eclipse/paho.mqtt.rust/pull/154 for this feature

fpagliughi commented 2 years ago

Thanks for the PR. Apologies for the delay. Been busy on the Paho C++ client this week. But it looks good. Merged.